import operator
ACTIONS = [operator.add,
operator.sub,
operator.mul,
operator.floordiv,
operator.mod]
def main():
action = int(input())
a, b = map(int, input().split())
print(ACTIONS[action - 1](a, b))
main()
ЗЫ: грех не землячке :)
import operator
ACTIONS = [operator.add,
operator.sub,
operator.mul,
operator.floordiv,
operator.mod]
def main():
action = int(input())
a, b = map(int, input().split())
print(ACTIONS[action - 1](a, b))
main()
ЗЫ: грех не землячке :)