@@ -0,0 +1,1222 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        double budget = Double.parseDouble(scanner.nextLine());%0A        String category = scanner.nextLine();%0A        int numberOfPeople = Integer.parseInt(scanner.nextLine());%0A%0A        double transportPrice = 0.0;%0A        if (numberOfPeople %3E= 1 && numberOfPeople %3C 5) %7B%0A            budget *= 0.25;%0A        %7D %0A        else if (numberOfPeople %3E= 5 && numberOfPeople %3C 10) %7B%0A            budget *= 0.40;%0A        %7D %0A        else if (numberOfPeople %3E= 10 && numberOfPeople %3C 25) %7B%0A            budget *= 0.50;%0A        %7D %0A        else if (numberOfPeople %3E= 25 && numberOfPeople %3C 50) %7B%0A            budget *= 0.60;%0A        %7D %0A        else %7B%0A            budget *= 0.75;%0A        %7D%0A%0A        double ticket = category.equals(%22VIP%22) ? 499.99 : 249.99;%0A        double moneyForTickets = ticket * numberOfPeople;%0A        double left = budget - moneyForTickets;%0A%0A        if (moneyForTickets %3C= budget) %7B%0A            System.out.printf(%22Yes! You have %25.2f leva left.%22, left);%0A        %7D else %7B%0A            System.out.printf(%22Not enough money! You need %25.2f leva.%22, Math.abs(left));%0A        %7D%0A    %7D%0A%7D%0A

Create 03.MatchTickets.java