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