Avishake Maji's submission of pattern27 | CodeChef