#include <stdio.h>
int main() {
int amount;
scanf("%d", &amount);
printf("10 บาท: %d\n", amount
/ 10); amount %= 10;
printf("5 บาท: %d\n", amount
/ 5); amount %= 5;
printf("2 บาท: %d\n", amount
/ 2); amount %= 2;
printf("1 บาท: %d\n", amount
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCBhbW91bnQ7CiAgICBwcmludGYoIuC4iOC4s+C4meC4p+C4meC5gOC4h+C4tOC4mTogIik7CiAgICBzY2FuZigiJWQiLCAmYW1vdW50KTsKCiAgICBwcmludGYoIjEwIOC4muC4suC4lzogJWRcbiIsIGFtb3VudCAvIDEwKTsKICAgIGFtb3VudCAlPSAxMDsKICAgIHByaW50ZigiNSDguJrguLLguJc6ICVkXG4iLCBhbW91bnQgLyA1KTsKICAgIGFtb3VudCAlPSA1OwogICAgcHJpbnRmKCIyIOC4muC4suC4lzogJWRcbiIsIGFtb3VudCAvIDIpOwogICAgYW1vdW50ICU9IDI7CiAgICBwcmludGYoIjEg4Lia4Liy4LiXOiAlZFxuIiwgYW1vdW50KTsKCiAgICByZXR1cm4gMDsKfQo=