import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		System.out.println("Кофе-машина");
		
            	int moneyAmount = 10;
 
		int koffeePrice = 40;
		int espressoPrice = 80;
		int cappucinoPrice = 120;
		int milkPrice = 9;
		
		boolean можетЛиЧелКупить = false;
 
		if(moneyAmount >= koffeePrice ) {
			System.out.println("Вы можете купить кофе.");
			можетЛиЧелКупить = true;
		}
 
		if(moneyAmount >= espressoPrice ) {
			System.out.println("Вы можете купить еспрессо");
			можетЛиЧелКупить = true;
		}
 
		if(moneyAmount >= cappucinoPrice ) {
			System.out.println("Вы можете купить капучино.");
			можетЛиЧелКупить = true;
		}
		if(moneyAmount >= milkPrice ) {
			System.out.println("Вы можете купить молоко.");
			можетЛиЧелКупить = true;
		}
		
		if (!можетЛиЧелКупить) {
			System.out.println("Не хватает средств");
			
		}
		
		
	}
}