avinash soni's submission of pattern1 | CodeChef