#include <iostream>
#include <iomanip>
int main() {
double amount = 41.00;
int twenties, tens, fives, ones, quarters, dimes, nickels, pennies;
// Step 1: Calculate the number of twenties
twenties = amount / 20;
amount -= twenties * 20;
// Step 2: Calculate the number of tens
tens = amount / 10;
amount -= tens * 10;
// Step 3: Calculate the number of fives
fives = amount / 5;
amount -= fives * 5;
// Step 4: Calculate the number of ones
ones = amount / 1;
amount -= ones * 1;
// Step 5: Calculate the number of quarters
quarters = amount / 0.25;
amount -= quarters * 0.25;
// Step 6: Calculate the number of dimes
dimes = amount / 0.10;
amount -= dimes * 0.10;
// Step 7: Calculate the number of nickels
nickels = amount / 0.05;
amount -= nickels * 0.05;
// Step 8: Calculate the number of pennies
pennies = amount / 0.01;
// Display the results
std::cout << "Twenties: " << twenties << std::endl;
std::cout << "Tens: " << tens << std::endl;
std::cout << "Fives: " << fives << std::endl;
std::cout << "Ones: " << ones << std::endl;
std::cout << "Quarters: " << quarters << std::endl;
std::cout << "Dimes: " << dimes << std::endl;
std::cout << "Nickels: " << nickels << std::endl;
std::cout << "Pennies: " << pennies << std::endl;
return 0;
}