/* 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("Кофе-машина");
		boolean canBuyAnything = false;
		int moneyAmount = 10;
		String[] drinks = {"капучино", "эспрессо", "вода", "молоко"};
		int[] prices = {150, 80, 20, 40};
		
		for(int i = 0; i < 4; i = i + 1)
		{
			System.out.println(drinks[i] + "=>" + prices[i]);
		}
		for( int i = 0;i < 4; i = i + 1)
		{
			if(moneyAmount >= prices[i])
			{
				System.out.println("Вы можете купить" + " " + drinks[i]);
				canBuyAnything = true;
			}
		}
		if(!canBuyAnything)
		{
			System.out.println("Недостаточно средств!!!");
		}
		}
}