/* 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=120;
		
		int lattePrice=140;
		int capuchinoPrice=160;
		int waterPrice=20;
		int milkPrice=30;
		
		boolean canBuyAnything = false;
		
		if(moneyAmount>=lattePrice){
			System.out.println("Вы можете купить латте");
			canBuyAnything = true;
		}
		
		if(moneyAmount>=capuchinoPrice) {
			System.out.println("Вы можете купить капучино");
			canBuyAnything = true;
		}
		
		if(moneyAmount>=waterPrice){
			System.out.println("Вы можете купить воду");
			canBuyAnything = true;
		} 	
		
		if(moneyAmount>=milkPrice){
			System.out.println("Вы можете купить молоко");
			canBuyAnything = true;
		}	
		
		if(!canBuyAnything){
			System.out.println("Недостаточно стредств!");
		}
	}	
}			
			
		
		
		
		
	
