www.acmicpc.net/problem/2557 : Hello World
# 2557.py
print("Hello World!")
www.acmicpc.net/problem/10718 : We love kriii
# 10718.py
print("강한친구 대한육군")
print("강한친구 대한육군")
www.acmicpc.net/problem/10171 : 고양이
# 10717.py
print('''\ /\\''')
print(''' ) ( ')''')
print('''( / )''')
print(''' \(__)|''')
www.acmicpc.net/problem/10172 : 개
# 10172.py
print('''|\_/|''')
print('''|q p| /}''')
print('''( 0 )"""\\''')
print('''|"^"` |''')
print('''||_/=\\\\__|''')
www.acmicpc.net/problem/1000 : A + B
# 1000.py
a, b = input().split()
print(int(a) + int(b))
www.acmicpc.net/problem/1001 : A - B
# 1001.py
a, b = input().split()
print(int(a) - int(b))
www.acmicpc.net/problem/10998 : A X B
# 10998.py
a, b = input().split()
print(int(a) * int(b))
www.acmicpc.net/problem/1008 : A / B
# 1008.py
a, b = input().split()
print(int(a) / int(b))
www.acmicpc.net/problem/10869 : 사칙연산
# 10869.py
a, b = input().split()
print(int(a) + int(b))
print(int(a) - int(b))
print(int(a) * int(b))
print(int(a) // int(b))
print(int(a) % int(b))
www.acmicpc.net/problem/10430 : 나머지
# 10430.py
a, b, c = input().split()
a = int(a)
b = int(b)
c = int(c)
print((a + b) % c)
print(((a % c) + (b % c)) % c)
print((a * b) % c)
print(((a % c) * (b % c)) % c)
www.acmicpc.net/problem/2588 : 곱셈
# 2588.py
a = int(input())
b = input()
print(a * int(b[2]))
print(a * int(b[1]))
print(a * int(b[0]))
print(a * int(b))