/* 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
{
	public static void main (String[] args) throws java.lang.Exception
	{
		System.out.println("Кофе-машина");
 
		int moneyAmount = 70;
 
		System.out.println("Вы внесли " + moneyAmount + " руб.");
 
		int cappucinoPrice = 150;
		int americanoPrice = 65;
		int waterPrice = 20;
		int appleJuicePrice = 45;
 
		boolean canBuySomething = false;
 
		if(moneyAmount >= cappucinoPrice) {
			System.out.println("Вы можете купить капучино");
			canBuySomething = true;
		}
 
		if(moneyAmount >= americanoPrice) {
			System.out.println("Вы можете купить американо");
			canBuySomething = true;
		}
 
		if(moneyAmount >= waterPrice) {
			System.out.println("Вы можете купить воду");
			canBuySomething = true;
		}
		
		if(moneyAmount >= appleJuicePrice) {
			System.out.println("Вы можете купить яблочный сок");
			canBuySomething = true;
		}
 
		if(canBuySomething == false) {
			System.out.println("Недостаточно средств :( Изучайте Java и зарабатывайте много!))");
		}
	}
}