include [HTML_REMOVED]
include [HTML_REMOVED]
using namespace std;
int main(){
double n;
cin >> n;
int n1 = n * 100;
int arr[] = {10000,5000,2000,1000,500,200,100,50,25,10, 5, 1};
for (int i = 0; i <sizeof(arr) / sizeof(arr[0]) ; i++) {
if (i == 0 ) {
cout << "NOTAS:" << endl;
}
if ( i == 6) {
cout << "MOEDAS:" << endl;
}
cout << fixed << setprecision(2) << n1 / arr[i] << (i < 6 ? " nota(s) de R$ " : " moeda(s) de R$ ") << fixed << setprecision(2) << arr[i]*1.0/100 << endl;
n1 = n1 % arr[i];
}
}