def f1():
print('f1')
def f2():
print('f2')
def f3():
print('f3')
def run_all(*args):
for f in args:
f()
run_all(f1, f2, f3)
ZGVmIGYxKCk6CglwcmludCgnZjEnKQoKZGVmIGYyKCk6CglwcmludCgnZjInKQoKZGVmIGYzKCk6CglwcmludCgnZjMnKQoKZGVmIHJ1bl9hbGwoKmFyZ3MpOgoJZm9yIGYgaW4gYXJnczoKCQlmKCkKCnJ1bl9hbGwoZjEsIGYyLCBmMyk=