I\'d please like some help with a code I\'ve written to attempt this problem https://codeforces.com/contest/344/problem/B
I\'m not sure how exactly to print out the solut