// Arup Guha
// 8/25/2026
// Solution to COP 3330 Program 1C: Can You Go to the Concert?

import java.util.*;

public class attend {

	public static void main(String[] args) {
	
		Scanner stdin = new Scanner(System.in);
		
		// Get user input.
		System.out.println("How many hours did you babysit?");
		int numHours = stdin.nextInt();
		System.out.println("How much did you get paid per hour of babysitting?");
		double payPerHour = stdin.nextDouble();
		System.out.println("What is the cost of a single concert ticket?");
		double ticketCost = stdin.nextDouble();
		
		// Compute money earned.
		double amtEarned = numHours*payPerHour;
		
		// Case for enough money.
		if (amtEarned >= ticketCost)
			System.out.println("Great, you earned enough money to attend the concert!");
		
		// Case where we are short.
		else
			System.out.println("Sorry, you haven't made enough money to attend the concert :(");
	}
}