jay patel's submission of Magda and Silly Pairs | CodeChef