#include<iostream>
#include<cstdio>
using namespace std;
int main(){
long num;
int arr[7] = {100, 50, 20, 10, 5, 2, 1};
cin>>num;
printf("%d\n", num);
for(int i = 0;i < 7;i++){
printf("%d nota(s) de R$ %d,00\n",num / arr[i], arr[i]);
num %= arr[i];
}
return 0;
}