Shivshanker Singh's submission of pattern2 | CodeChef