#include <iostream>
#include <string>
#include <cstdio>
#include <cmath>
using namespace std;
int main()
{
int n,tmp;
int a[7]={100,50,20,10,5,2,1};
cin>>n;
cout<<n<<endl;
for(int i=0;i<7;i++)
{
tmp=n/a[i];
n%=a[i];
cout<<tmp<<" nota(s) de R$ "<<a[i]<<",00"<<endl;;
}
return 0;
}