Akshay Gaddam's submission of Rectangle | CodeChef