Hi, http://mirror.codeforces.com/contest/222/submission/12429658 My submission is failing test 15, and I cannot figure out why. I find the primes, then go through the numbers in the numerator and denominator. For each, I decrement it if possible and then print out whatever the numerator/denominator is after reduction.