CURRENCY - Tiền tệ
https://www.facebook.com/1391989994220783/posts/2627725517313885/
Input
5 4 6 16 20 36 22 15
Output
4 1
7 7 5 7 25 14 27 45 34 41
7 0
Nguồn: https://www.codechef.com