Every submission at HackerRank has a field called language which indicates the programming language which a hacker used to code his solution.
Sometimes, error-prone API requests can have an invalid language field. Could you find out if a given submission has a valid language field or not?
First line contains N. N API requests follow, each in a newline.
Each request has an integer api_id and a string language which are the request parameters placed by the an API request.
1 <= N <= 100
10^4 <= api_id < 10^5
a valid language is any of the languages listed above (case sensitive):
For every api request given in input, print "VALID" if it has a valid language string in it or print "INVALID" otherwise.
LUA and BRAINFUCK are valid languages as listed above. As X is doesn't appear in the list, it is an invalid request.