import sys
input = sys.stdin.readline
import math

N, M, K = [int(item) for item in input().split()]
mod = 10**9 + 7

score_c = 1
for i in range(2, K):
    score_c *= ((N * M - i) % mod * pow(K - i, mod - 2, mod))
    score_c %= mod

total = 0
for d in range(1, N):
    score = (N - d) * M**2 * d * score_c
    score %= mod
    total += score
    total %= mod

for d in range(1, M):
    score = (M - d) * N**2 * d * score_c
    score %= mod
    total += score
    total %= mod


print(total) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline import math math int(item) for item in input().split() for item in input().split() item input().split() ().split () input split for item in input().split() int(item) int item N, M, K = [int(item) for item in input().split()] N [int(item) for item in input().split()] M K mod = 10**9 + 7 mod 10**9 + 7 10**9 10 9 7 score_c = 1 score_c 1 for i in range(2, K):
    score_c *= ((N * M - i) % mod * pow(K - i, mod - 2, mod))
    score_c %= mod i range(2, K) range 2 K score_c *= ((N * M - i) % mod * pow(K - i, mod - 2, mod)) score_c (N * M - i) % mod * pow(K - i, mod - 2, mod) (N * M - i) % mod N * M - i N * M N M i mod pow(K - i, mod - 2, mod) pow K - i K i mod - 2 mod 2 mod score_c %= mod score_c mod total = 0 total 0 for d in range(1, N):
    score = (N - d) * M**2 * d * score_c
    score %= mod
    total += score
    total %= mod d range(1, N) range 1 N score = (N - d) * M**2 * d * score_c score (N - d) * M**2 * d * score_c (N - d) * M**2 * d (N - d) * M**2 N - d N d M**2 M 2 d score_c score %= mod score mod total += score total score total %= mod total mod for d in range(1, M):
    score = (M - d) * N**2 * d * score_c
    score %= mod
    total += score
    total %= mod d range(1, M) range 1 M score = (M - d) * N**2 * d * score_c score (M - d) * N**2 * d * score_c (M - d) * N**2 * d (M - d) * N**2 M - d M d N**2 N 2 d score_c score %= mod score mod total += score total score total %= mod total mod print(total) print total K = [int(item) for item in input().split()] [int(item) for item in input().split()] K M, K = [int(item) for item in input().split()] [int(item) for item in input().split()] M score %= mod mod score input = sys.stdin.readline sys.stdin.readline input score = (N - d) * M**2 * d * score_c (N - d) * M**2 * d * score_c score mod = 10**9 + 7 10**9 + 7 mod total %= mod mod total score %= mod mod score score_c *= ((N * M - i) % mod * pow(K - i, mod - 2, mod)) (N * M - i) % mod * pow(K - i, mod - 2, mod) score_c total += score score total score_c %= mod mod score_c total += score score total total = 0 0 total score_c = 1 1 score_c score = (M - d) * N**2 * d * score_c (M - d) * N**2 * d * score_c score total %= mod mod total N, M, K = [int(item) for item in input().split()] [int(item) for item in input().split()] N
import sys
input = sys.stdin.readline
import math

N, M, K = [int(item) for item in input().split()]
mod = 10**9 + 7

score_c = 1
for i in range(2, K):
    score_c *= ((N * M - i) % mod * pow(K - i, mod - 2, mod))
    score_c %= mod

total = 0
for d in range(1, N):
    score = (N - d) * M**2 * d * score_c
    score %= mod
    total += score
    total %= mod

for d in range(1, M):
    score = (M - d) * N**2 * d * score_c
    score %= mod
    total += score
    total %= mod


print(total)
