Harshit Kumar Gupta's submission of pattern9 | CodeChef