//******************************************************************************
//
// SpeedTrap calculates the amount of a speeding ticket fine
// Kelli Wiseth
// 4-June-2004
//
// Platform: 	Wintel [Windows 2000]
// JDK version:	JDK 1.4.1
//
//******************************************************************************

import java.io.*;

class SpeedTrap {
        static final int SPEED_LIMIT=65;

        public static void main (String args[]) throws IOException
        {
        BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
        
        String string1;;
        int mph;
        System.out.print("Enter the speed recorded on the ticket:   ");
        string1=stdin.readLine();
        mph= Integer.parseInt(string1);
        if (mph <=SPEED_LIMIT)
                System.out.println("No Fee-Congrats");
        if (mph >SPEED_LIMIT && mph<=75)
                System.out.println("300");
        if (mph >75)
                System.out.println(300 + (20*(mph-75)));
                
        }//main method
}//RadiusCalculator class
