POJ#1046 calculate closest number. EASY:). RANK 25686