Problem A.PRO