#41758: 答案 (python)


Morrischen (morris)

學校 : 高雄市苓雅區復華高級中學國中部
編號 : 236381
來源 : [61.71.113.49]
最後登入時間 :
2025-10-06 11:08:57

def Main(n):
    for cas in range(1, n+1):
        l, w, h = map(int, input().split())
        if l <= 20 and w <= 20 and h <= 20:
            print("Case %d: good"%cas)
        else:
            print("Case %d: bad" % cas)
if __name__ == '__main__':
    n = int(input())
    Main(n)