Shivshanker Singh's submission of pattern1 | CodeChef