Shivshanker Singh's submission of pattern23 | CodeChef