Language: C++

# coding: utf-8
# Your code here!
# coding: utf-8
from fractions import gcd 
from functools import reduce
import sys
sys.setrecursionlimit(200000000)
from inspect import currentframe


# my functions here!
#標準エラー出力
def printargs2err(*args):
    names = {id(v):k for k,v in currentframe().f_back.f_locals.items()}
    print(', '.join(names.get(id(arg),'???')+' : '+repr(arg) for arg in args),file=sys.stderr)






def printglobals():
    for (symbol, value) in globals().items():
        print('symbol="%s"、value=%s' % (symbol, value),file=sys.stderr)
def printlocals():
    for (symbol, value) in locals().items():
        print('symbol="%s"、value=%s' % (symbol, value),file=sys.stderr)
#入力（後でいじる）
        
#input
def resolve():
    A=[0,1,2,3]
    A[int(input())]=0
    A[int(input())]=0
    print(sorted(A)[-1])
    #print([["NA","YYMM"],["MMYY","AMBIGUOUS"]][cMMYY][cYYMM])
#if __name__=="__main__":resolve()
"""
#printデバッグ消した？
#前の問題の結果見てないのに次の問題に行くの？
"""
"""
お前カッコ閉じるの忘れてるだろ
"""

import sys
from io import StringIO
import unittest

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)
    def test_入力例_1(self):
        input = """3
1"""
        output = """2"""
        self.assertIO(input, output)
    def test_入力例_2(self):
        input = """1
2"""
        output = """3"""
        self.assertIO(input, output)

if __name__=="__main__":resolve()

Compiler output:
a.cc:1:3: error: invalid preprocessing directive #coding
    1 | # coding: utf-8
      |   ^~~~~~
a.cc:2:3: error: invalid preprocessing directive #Your
    2 | # Your code here!
      |   ^~~~
a.cc:3:3: error: invalid preprocessing directive #coding
    3 | # coding: utf-8
      |   ^~~~~~
a.cc:11:3: error: invalid preprocessing directive #my
   11 | # my functions here!
      |   ^~
a.cc:12:2: error: invalid preprocessing directive #\U00006a19\U00006e96\U000030a8\U000030e9\U000030fc\U000051fa\U0000529b
   12 | #標準エラー出力
      |  ^~~~~~~~~~~~~~
a.cc:15:11: warning: multi-character character constant [-Wmultichar]
   15 |     print(', '.join(names.get(id(arg),'???')+' : '+repr(arg) for arg in args),file=sys.stderr)
      |           ^~~~
a.cc:15:41: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs]
   15 |     print(', '.join(names.get(id(arg),'???')+' : '+repr(arg) for arg in args),file=sys.stderr)
a.cc:15:39: warning: multi-character character constant [-Wmultichar]
   15 |     print(', '.join(names.get(id(arg),'???')+' : '+repr(arg) for arg in args),file=sys.stderr)
      |                                       ^~~~~
a.cc:15:46: warning: multi-character character constant [-Wmultichar]
   15 |     print(', '.join(names.get(id(arg),'???')+' : '+repr(arg) for arg in args),file=sys.stderr)
      |                                              ^~~~~
a.cc:24:15: warning: multi-character literal with 22 characters exceeds 'int' size of 4 bytes
   24 |         print('symbol="%s"、value=%s' % (symbol, value),file=sys.stderr)
      |               ^~~~~~~~~~~~~~~~~~~~~~~
a.cc:27:15: warning: multi-character literal with 22 characters exceeds 'int' size of 4 bytes
   27 |         print('symbol="%s"、value=%s' % (symbol, value),file=sys.stderr)
      |               ^~~~~~~~~~~~~~~~~~~~~~~
a.cc:28:2: error: invalid preprocessing directive #\U00005165\U0000529b\U0000ff08\U00005f8c\U00003067\U00003044\U00003058\U0000308b\U0000ff09
   28 | #入力（後でいじる）
      |  ^~~~~~~~~~~~~~~~~~
a.cc:30:2: error: invalid preprocessing directive #input
   30 | #input
      |  ^~~~~
a.cc:36:6: error: invalid preprocessing directive #print
   36 |     #print([["NA","YYMM"],["MMYY","AMBIGUOUS"]][cMMYY][cYYMM])
      |      ^~~~~
a.cc:37:15: error: token ""__main__"" is not valid in preprocessor expressions
   37 | #if __name__=="__main__":resolve()
      |               ^~~~~~~~~~
a.cc:38:3: warning: missing terminating " character
   38 | """
      |   ^
a.cc:41:3: warning: missing terminating " character
   41 | """
      |   ^
a.cc:42:3: warning: missing terminating " character
   42 | """
      |   ^
a.cc:44:3: warning: missing terminating " character
   44 | """
      |   ^
a.cc:60:19: warning: missing terminating " character
   60 |         input = """3
      |                   ^
a.cc:61:4: warning: missing terminating " character
   61 | 1"""
      |    ^
a.cc:65:19: warning: missing terminating " character
   65 |         input = """1
      |                   ^
a.cc:66:4: warning: missing terminating " character
   66 | 2"""
      |    ^
a.cc:37: error: unterminated #if
   37 | #if __name__=="__main__":resolve()
a.cc:4:1: error: 'from' does not name a type
    4 | from fractions import gcd
      | ^~~~
a.cc:15:10: error: expected constructor, destructor, or type conversion before '(' token
   15 |     print(', '.join(names.get(id(arg),'???')+' : '+repr(arg) for arg in args),file=sys.stderr)
      |          ^