#include <iostream>
//#include <fstream>
using namespace std;

#define in cin
//ifstream in("3108.txt");

int main()
{
	double spe;
	int wei, str;

	while (in >> spe >> wei >> str && (spe != 0 && wei != 0 && str != 0))
	{
		bool ninguno = true;
		if (spe <= 4.5 && wei >= 150 && str >= 200)
		{
			cout << "Wide Receiver";
			ninguno = false;
		}
		if (spe <= 6.0 && wei >= 300 && str >= 500)
		{
			if (!ninguno)
				cout << " ";
			cout << "Lineman";
			ninguno = false;
		}
		if (spe <= 5.0 && wei >= 200 && str >= 300)
		{
			if (!ninguno)
				cout << " ";
			cout << "Quarterback";
			ninguno = false;
		}
		if (ninguno)
			cout << "No positions";
		cout << endl;
	}
	return 0;
}

