/* package whatever; // don't place package name! */

import java.util.*;

 
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) 
	{
		System.out.println("Кофе-машина");
		Scanner scanner = new Scanner(System.in);
	    System.out.print("Внесите сумму");
        int moneyAmount = scanner.nextInt();
        scanner.close();
		int espressoPrice = 100;
		int cappucinoPrice = 200;
		int waterPrice = 10;
		int milkPrice = 50;
 
		boolean canBuySomething = false;
 
		if(moneyAmount >= milkPrice) {
			System.out.println("Вы можете купить молоко");
			canBuySomething = true;
		}
 
		if(moneyAmount >= espressoPrice) {
			System.out.println("Вы можете купить эспрессо");
			canBuySomething = true;
		}
 
		if(moneyAmount >= cappucinoPrice) {
			System.out.println("Вы можете купить капучино");
			canBuySomething = true;
		}
 
		if(moneyAmount >= waterPrice) {
			System.out.println("Вы можете купить воду");
			canBuySomething = true;
		}		
 
		if(canBuySomething == false) {
			System.out.println("Недостаточно средств. Учите джаву и идите работать!");
		}
	}
}