2014 r1c problem A solved