mod = 1000000007 eps = 10**-9 def main(): import sys input = sys.stdin.readline a, b, c, d, e, f = map(int, input().split()) assert a != 0 assert b != 0 if __name__ == '__main__': main()