import java.util.Scanner;
public class Parking {
int entrance, exit, parking_time, total_charge;
final int PRICE_15_MINUTE, PRICE_1ST_HOUR, PRICE_2ND_HOUR, PRICE_AFTER_SIX;
public static void main (String [] args) {
Scanner scan = new Scanner (System.in);
System.out.println ("Enter entrance time: "); // user input for entrance time.
entrance = scan.nextInt();
System.out.println ("Enter exit time: "); // user input for exit time.
exit = scan.nextInt();
if (entrance > exit) { // in case of incorrect input the program will shut off.
System.out.println ("Error! Entrance time must precede exit time");
System.exit(1);
}
parking_time = exit - entrance; // determine the total amount of parking time.
System.out.println ("Total charge is " + total_charge + " NIS.");
} // End of method main.
} // End of class Parking.