Andrey Kim's submission of Chef and math | CodeChef