Result

AC

Duration

841ms

Code [DL]

for x in open(0):print(x[x[1]==x[2]or 4])

stdin

165 665
571 664
789 985
899 997
511 713
463 322
148 667
165 965
743 832
284 694
819 899
897 692
114 447
977 221
573 377
853 389
731 852
938 326
413 338
282 882
211 886
211 838
855 713
133 332
988 855
244 461
367 675
544 349
246 643
382 828
115 443
194 966

stdout

6
6
9
9
1
3
6
9
8
6
8
6
4
7
3
3
8
3
3
8
1
1
5
3
8
4
6
4
6
8
4
9

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffed5bddde0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55fdaf092d38 /* 7 vars */ <unfinished ...>
12    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x55fdaf092d50 /* 7 vars */ <unfinished ...>
11    <... execve resumed>)             = 0
12    <... execve resumed>)             = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++