def main(): mod = 10**9+7 mod2 = 998244353 n, m, k = map(int, input().split()) assert k>2 print(0) main()