23dfcca431 2011-02-23 kinaba: import sys 23dfcca431 2011-02-23 kinaba: 23dfcca431 2011-02-23 kinaba: CN = int(sys.stdin.next()) 23dfcca431 2011-02-23 kinaba: for C in range(1, CN+1): 23dfcca431 2011-02-23 kinaba: print "Case #%d:"%(C), 23dfcca431 2011-02-23 kinaba: N = int(sys.stdin.next()) 23dfcca431 2011-02-23 kinaba: M = int(sys.stdin.next()) 23dfcca431 2011-02-23 kinaba: for i in range(0, M): 23dfcca431 2011-02-23 kinaba: a = map(int, sys.stdin.next().split(" ")) 23dfcca431 2011-02-23 kinaba: print a 23dfcca431 2011-02-23 kinaba: print N, M