24 lines
492 B
Python
24 lines
492 B
Python
|
import sys
|
||
|
from grid import *
|
||
|
from collections import defaultdict as DD
|
||
|
from collections import Counter as CT
|
||
|
from collections import deque as DQ
|
||
|
from functools import cmp_to_key as ck
|
||
|
from functools import cache
|
||
|
from itertools import combinations as comb
|
||
|
from itertools import product as prod
|
||
|
from itertools import cycle
|
||
|
E = enumerate
|
||
|
|
||
|
I = sys.stdin.read().strip().split('\n')
|
||
|
#G = [list(l) for l in I.split('\n')]
|
||
|
#W, H = grid_geom(G)
|
||
|
|
||
|
ans = 0
|
||
|
|
||
|
for i,x in E(I):
|
||
|
print(i,x)
|
||
|
|
||
|
print(ans)
|
||
|
|