#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

int main() {
	long long a, b;

	std::cin >> a >> b;

	std::cout << (a < b ? "YOKO" : "TATE") << std::endl;

	return 0;
}