#include <iostream>
using namespace std;
int main() {
int moneyAmount;
int cappucinoPrice = 150;
int espressoPrice = 80;
int waterPrice = 20;
int milkPrice = 40;
bool canBuyAnything = false;
cout << "Сколько у вас денежкоф?\n";
cin >> moneyAmount;
if(moneyAmount >= milkPrice) {
cout << "Вы можете купить молочка\n";
canBuyAnything = true;
}
if(moneyAmount >= cappucinoPrice) {
cout << "Вы можете купить капучино\n";
canBuyAnything = true;
}
if(moneyAmount >= espressoPrice) {
cout << "Вы можете купить эспрессо\n";
canBuyAnything = true;
}
if(moneyAmount >= waterPrice) {
cout << "Вы можете купить воду\n";
canBuyAnything = true;
}
if(canBuyAnything == false) {
cout << "Копи бабло\n";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkJaW50IG1vbmV5QW1vdW50OwoJCQoJCWludCBjYXBwdWNpbm9QcmljZSA9IDE1MDsKCQlpbnQgZXNwcmVzc29QcmljZSA9IDgwOwoJCWludCB3YXRlclByaWNlID0gMjA7CgkJaW50IG1pbGtQcmljZSA9IDQwOwoJCWJvb2wgY2FuQnV5QW55dGhpbmcgPSBmYWxzZTsKCQljb3V0IDw8ICLQodC60L7Qu9GM0LrQviDRgyDQstCw0YEg0LTQtdC90LXQttC60L7RhD9cbiI7CgkJY2luID4+IG1vbmV5QW1vdW50OwoJCWlmKG1vbmV5QW1vdW50ID49IG1pbGtQcmljZSkgewoJCQljb3V0IDw8ICLQktGLINC80L7QttC10YLQtSDQutGD0L/QuNGC0Ywg0LzQvtC70L7Rh9C60LBcbiI7CgkJCWNhbkJ1eUFueXRoaW5nID0gdHJ1ZTsKCQl9CgkJCgkJaWYobW9uZXlBbW91bnQgPj0gY2FwcHVjaW5vUHJpY2UpIHsKCQkJY291dCA8PCAi0JLRiyDQvNC+0LbQtdGC0LUg0LrRg9C/0LjRgtGMINC60LDQv9GD0YfQuNC90L5cbiI7CgkJCWNhbkJ1eUFueXR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