Prob041: Changed B*C etc to 10*B+C etc