@staticmethod
def b():
    (a, b, c) = map(int, sys.stdin.readline().split())
    ans = ((((a * b) % MOD) * c) % MOD)
    print(ans)
@staticmethod
def b():
    (a, b, c) = map(int, sys.stdin.readline().split())
    ans = ((((a * b) % MOD) * c) % MOD)
    print(ans)