Jakub Tarnawski's submission of Makx Sum | CodeChef