/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
System.
out.
println("Кофемашина");
Scanner s
= new Scanner
(System.
in);
int moneyAmount = s.nextInt();
int espressoPrice = 80;
int capuccinoPrice = 150;
int waterPrice = 20;
int milkPrice = 50;
boolean canBuyAnything = false;
if (moneyAmount >= espressoPrice) {
System.
out.
println("Вы можете купить эспрессо"); canBuyAnything = true;
}
if (moneyAmount >= capuccinoPrice) {
System.
out.
println("Вы можете купить капучино"); canBuyAnything = true;
}
if (moneyAmount >= milkPrice) {
System.
out.
println("Вы можете купить молоко"); canBuyAnything = true;
}
if (moneyAmount >= waterPrice) {
System.
out.
println("Вы можете купить воду"); canBuyAnything = true;
}
if (canBuyAnything == false) {
System.
out.
println("Вы ничего купить не можете"); }
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgl7CgkJCgkJCVN5c3RlbS5vdXQucHJpbnRsbigi0JrQvtGE0LXQvNCw0YjQuNC90LAiKTsKCQkJCgkJCVNjYW5uZXIgcyA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJCgkJCWludCBtb25leUFtb3VudCA9IHMubmV4dEludCgpOwoJCQkKCQkJaW50IGVzcHJlc3NvUHJpY2UgPSA4MDsKCQkJaW50IGNhcHVjY2lub1ByaWNlID0gMTUwOwoJCQlpbnQ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