#include<bits/stdc++.h>
using namespace std;
 
#define de(x) cout << #x << " == " << x << endl

typedef long long LL;         
typedef pair<int, int> P;
 
const int maxn = 100 + 10;        
const int M_MAX = 50000 + 10;
const int mod = 1e9;
const int INF = 0x3f3f3f3f;    
const double eps = 1e-6;      

int n, m, k;
int flag = 0;
LL dp[maxn][maxn];

void dfs(int a, int b, LL sum) {
    if(a > 100 || b > 100) return ;
    if(dp[a][b]) return ;
    dp[a][b] = sum;
    dfs(a+1, b, sum+b);
    dfs(a, b+1, sum+a);
}

void solve() {
    cin >> n >> m >> k;
    if(dp[n][m] == k) cout << "YES\n";
    else cout << "NO\n";
}

int main() {
    ios::sync_with_stdio(false);
    int t; cin >> t;
    dfs(1, 1, 0);
    while(t--) {
        solve();
    }
    return 0;
}

 