2016/8/22
精度只有2^31,直接用long类型就好
# -*- coding: utf-8 -*-
"""
Spyder Editor
author hanzy
This is a temporary script file.
"""
if __name__ == "__main__":
loop = total = input()
while(loop != 0):
numlist = raw_input()
num = numlist.split(' ')
a = long(num[0])
b = long(num[1])
c = long(num[2])
if a+b>c:
print "Case #" + str(total-loop+1) + ": true"
else:
print "Case #" + str(total-loop+1) + ": false"
loop -= 1