import java.util.Scanner;

public class Twister3 {

	public static void main ( String args[] ) {

	    // declare data items
	    final int MIN_HEIGHT = 50;
	    final int MIN_AGE = 5;
	    int height;
	    int age;
	    Scanner scanner = new Scanner( System.in ); // used for input

	    // prompt user for height and age, and read them in
	    System.out.println( "What is your height in inches?" );
	    height = scanner.nextInt();
	    System.out.println( "How old are you?" );
	    age = scanner.nextInt();

	    // check height, print message
	    System.out.println();
	    if ( (height < MIN_HEIGHT) || (age < MIN_AGE) )  {
		System.out.println( "No ride for me :(" );
	    }
	    else if ( (height == MIN_HEIGHT) || ( age == MIN_AGE) ) { 
		System.out.println( "I just made it!" );
	    }
	    else {
	        System.out.println( "Whee, that was fun!");
	    }
	    System.out.println();
	    

	}

}    // Twister3

