import java.util.Scanner; //needed for input
 
class Tickets3
{  
  public static void main (String[] args)
  {
    int age;                      
    double cost;
    
    System.out.println("Enter the age");    
    age = ITI1120.readInt(); 
    
    cost = 10;
    //if the ticket was the same for seniors and juniors, $7
    if(age <=16 || age>=65){             
      cost=7.0;
    }
       
   
     
    System.out.println("The cost of the ticket is "+ cost);  
     
  }
}