K. Space Colonizers
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Example
Input
3
3 3
3 1 5
2 4 10
4 8 20
1 1 3 3
3 3
3 1 5
2 4 12
4 11 1
1 1 3 3
1 7
8 3 1 2 2 5 13
1 4 1 7
Output
UNOBTANIUM
UNOBTAINABLE
UNOBTANIUM