N, M, K = map(int, input().split())
MOD = 10**9+7

def makefactlist(n, mod=MOD):
    ret = [1]
    for i in range(n):
        ret += [ (ret[-1]*(i+1))%MOD ]
    return ret

factlist = makefactlist(N*M, mod=MOD)
comb = factlist[N*M-2]*pow(factlist[N*M-K], MOD-2, MOD)*pow(factlist[K-2], MOD-2, MOD)
comb = comb % MOD

ret = 0
for x in range(1,N):
    ret += ((N-x)*M*M*comb*x) % MOD
    ret = ret % MOD
for y in range(1,M):
    ret += ((M-y)*N*N*comb*y) % MOD
    ret = ret % MOD
print(ret) N, M, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split M K MOD = 10**9+7 MOD 10**9+7 10**9 10 9 7 def makefactlist(n, mod=MOD):
    ret = [1]
    for i in range(n):
        ret += [ (ret[-1]*(i+1))%MOD ]
    return ret makefactlist ret = [1] ret [1] 1 for i in range(n):
        ret += [ (ret[-1]*(i+1))%MOD ]
     i range(n) range n ret += [ (ret[-1]*(i+1))%MOD ] ret [ (ret[-1]*(i+1))%MOD ] (ret[-1]*(i+1))%MOD ret[-1]*(i+1) ret[-1] ret -1 i+1 i 1 MOD return ret ret n n mod=MOD mod MOD factlist = makefactlist(N*M, mod=MOD) factlist makefactlist(N*M, mod=MOD) makefactlist N*M N M mod=MOD mod MOD comb = factlist[N*M-2]*pow(factlist[N*M-K], MOD-2, MOD)*pow(factlist[K-2], MOD-2, MOD) comb factlist[N*M-2]*pow(factlist[N*M-K], MOD-2, MOD)*pow(factlist[K-2], MOD-2, MOD) factlist[N*M-2]*pow(factlist[N*M-K], MOD-2, MOD) factlist[N*M-2] factlist N*M-2 N*M N M 2 pow(factlist[N*M-K], MOD-2, MOD) pow factlist[N*M-K] factlist N*M-K N*M N M K MOD-2 MOD 2 MOD pow(factlist[K-2], MOD-2, MOD) pow factlist[K-2] factlist K-2 K 2 MOD-2 MOD 2 MOD comb = comb % MOD comb comb % MOD comb MOD ret = 0 ret 0 for x in range(1,N):
    ret += ((N-x)*M*M*comb*x) % MOD
    ret = ret % MOD x range(1,N) range 1 N ret += ((N-x)*M*M*comb*x) % MOD ret ((N-x)*M*M*comb*x) % MOD (N-x)*M*M*comb*x (N-x)*M*M*comb (N-x)*M*M (N-x)*M N-x N x M M comb x MOD ret = ret % MOD ret ret % MOD ret MOD for y in range(1,M):
    ret += ((M-y)*N*N*comb*y) % MOD
    ret = ret % MOD y range(1,M) range 1 M ret += ((M-y)*N*N*comb*y) % MOD ret ((M-y)*N*N*comb*y) % MOD (M-y)*N*N*comb*y (M-y)*N*N*comb (M-y)*N*N (M-y)*N M-y M y N N comb y MOD ret = ret % MOD ret ret % MOD ret MOD print(ret) print ret K = map(int, input().split()) map(int, input().split()) K MOD = 10**9+7 10**9+7 MOD N, M, K = map(int, input().split()) map(int, input().split()) N ret += ((N-x)*M*M*comb*x) % MOD ((N-x)*M*M*comb*x) % MOD ret factlist = makefactlist(N*M, mod=MOD) makefactlist(N*M, mod=MOD) factlist def makefactlist(n, mod=MOD):
    ret = [1]
    for i in range(n):
        ret += [ (ret[-1]*(i+1))%MOD ]
    return ret def makefactlist(n, mod=MOD):
    ret = [1]
    for i in range(n):
        ret += [ (ret[-1]*(i+1))%MOD ]
    return ret makefactlist comb = comb % MOD comb % MOD comb comb = factlist[N*M-2]*pow(factlist[N*M-K], MOD-2, MOD)*pow(factlist[K-2], MOD-2, MOD) factlist[N*M-2]*pow(factlist[N*M-K], MOD-2, MOD)*pow(factlist[K-2], MOD-2, MOD) comb ret = 0 0 ret ret = ret % MOD ret % MOD ret ret = ret % MOD ret % MOD ret ret += ((M-y)*N*N*comb*y) % MOD ((M-y)*N*N*comb*y) % MOD ret M, K = map(int, input().split()) map(int, input().split()) M
N, M, K = map(int, input().split())
MOD = 10**9+7

def makefactlist(n, mod=MOD):
    ret = [1]
    for i in range(n):
        ret += [ (ret[-1]*(i+1))%MOD ]
    return ret

factlist = makefactlist(N*M, mod=MOD)
comb = factlist[N*M-2]*pow(factlist[N*M-K], MOD-2, MOD)*pow(factlist[K-2], MOD-2, MOD)
comb = comb % MOD

ret = 0
for x in range(1,N):
    ret += ((N-x)*M*M*comb*x) % MOD
    ret = ret % MOD
for y in range(1,M):
    ret += ((M-y)*N*N*comb*y) % MOD
    ret = ret % MOD
print(ret)