Avishake Maji's submission of pattern21 | CodeChef