#include<iostream>
using namespace std;

int main()
{
 char letter;

 // Get initial letter from user
 cout << "Give me a letter: ";
 cin >> letter;

 // While input letter is not A,
 // get new letter
 while(letter!='A')
 {
   cout << "Try again: ";
   cin >> letter;
 }

 // When user finally enters A,
 // announce A is for apple
 cout << "A is for apple!\n";


 return 0;
}