/* 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
{
{
int moneyAmount = 120;
int waterPrice = 30;
int espressoPrice = 55;
int milkPrice = 43;
boolean canBuyAnything = false;
if (moneyAmount >= waterPrice)
{
System.
out.
println("Твои слова — водица, так не годится!"); canBuyAnything = true;
}
if (moneyAmount >= espressoPrice)
{
System.
out.
println("Не путай с экспрессом"); canBuyAnything = true;
}
if (moneyAmount >= milkPrice)
{
System.
out.
println("Ваше молоко. Без пенки."); canBuyAnything = true;
}
if (canBuyAnything == false)
{
System.
out.
println("Бездарь! Даже на водицу денег не хватило! Иди работай!!!"); }
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCWludCBtb25leUFtb3VudCA9IDEyMDsKCQlpbnQgd2F0ZXJQcmljZSA9IDMwOwoJCWludCBlc3ByZXNzb1ByaWNlID0gNTU7CgkJaW50IG1pbGtQcmljZSA9IDQzOwoJCQoJCWJvb2xlYW4gY2FuQnV5QW55dGhpbmcgPSBmYWxzZTsKCQkKCQlpZiAobW9uZXlBbW91bnQgPj0gd2F0ZXJQcmljZSkgCgkJewoJCQlTeXN0ZW0ub3V0LnByaW50bG4oItCi0LLQvtC4INGB0LvQvtCy0LAg4oCUINCy0L7QtNC40YbQsCwg0YLQsNC6INC90LUg0LPQvtC00LjRgtGB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