// DATA INPUT

#include <iostream>

using namespace std;

int main()
{

  char line[20];

  cout << "What do you want? (20 chars)" << endl;
  cout << ": ";
  
  while (!(cin.getline(line,sizeof(line))))
  {
    cout << "Unrecognized response." << endl;
    cin.clear();
    cin.ignore( 10000, '\n' );
    cout << "What do you want? (20 chars)" << endl;
    cout << ": ";
  }

  cout << "You want: ";
  cout << line << endl;

  return 0;
}

// EOF