#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<n<<endl;
cout<<n/100<<" nota(s) de R$ 100,00"<<endl;
n%=100;
cout<<n/50<<" nota(s) de R$ 50,00"<<endl;
n%=50;
cout<<n/20<<" nota(s) de R$ 20,00"<<endl;
n%=20;
cout<<n/10<<" nota(s) de R$ 10,00"<<endl;
n%=10;
cout<<n/5<<" nota(s) de R$ 5,00"<<endl;
n%=5;
cout<<n/2<<" nota(s) de R$ 2,00"<<endl;
n%=2;
cout<<n/1<<" nota(s) de R$ 1,00"<<endl;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CiAgICBpbnQgbjsKICAgIGNpbj4+bjsKICAgIGNvdXQ8PG48PGVuZGw7CiAgICBjb3V0PDxuLzEwMDw8IiBub3RhKHMpIGRlIFIkIDEwMCwwMCI8PGVuZGw7CiAgICBuJT0xMDA7CgogICAgY291dDw8bi81MDw8IiBub3RhKHMpIGRlIFIkIDUwLDAwIjw8ZW5kbDsKICAgIG4lPTUwOwoKICAgIGNvdXQ8PG4vMjA8PCIgbm90YShzKSBkZSBSJCAyMCwwMCI8PGVuZGw7CiAgICBuJT0yMDsKCiAgICBjb3V0PDxuLzEwPDwiIG5vdGEocykgZGUgUiQgMTAsMDAiPDxlbmRsOwogICAgbiU9MTA7CgogICAgY291dDw8bi81PDwiIG5vdGEocykgZGUgUiQgNSwwMCI8PGVuZGw7CiAgICBuJT01OwoKICAgIGNvdXQ8PG4vMjw8IiBub3RhKHMpIGRlIFIkIDIsMDAiPDxlbmRsOwogICAgbiU9MjsKCiAgICBjb3V0PDxuLzE8PCIgbm90YShzKSBkZSBSJCAxLDAwIjw8ZW5kbDsKCiAgICByZXR1cm4gMDsKfQo=
11171
111 nota(s) de R$ 100,00
1 nota(s) de R$ 50,00
1 nota(s) de R$ 20,00
0 nota(s) de R$ 10,00
0 nota(s) de R$ 5,00
0 nota(s) de R$ 2,00
1 nota(s) de R$ 1,00