#include<iostream>
using namespace std;

int main()
{
 int age;

 // Get user age
 cout << "What is your age? ";
 cin >> age;

 // check if young child or senior citizen
 if (age<3 || age>70)
   cout << "Free ride!\n";
 else
   cout << "Pay $5!\n";

 return 0;
}