Shivshanker Singh's submission of pattern9 | CodeChef