#include <bits/stdc++.h>
const int MAX = 400010;
const int MOD = 1e9 + 7;
const int INF = 0x3f3f3f3f;
const long long LLINF = 0x3f3f3f3f3f3f3f3f;
const long double EPS = 1e-7;
using namespace std;
long long gcd(long long a, long long b) {
  if (a == 0) return b;
  return gcd(b % a, a);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n, m, k;
  cin >> n >> m >> k;
  if ((2 * n * m) % k != 0)
    cout << "NO\n";
  else {
    cout << "YES\n";
    int nn = n / gcd(n, k);
    int kk = k / gcd(n, k);
    int mm = m / gcd(m, kk);
    kk /= gcd(m, kk);
    if (kk == 1) {
      if (nn == n)
        mm *= 2;
      else
        nn *= 2;
    }
    cout << "0 0\n";
    cout << "0 " << mm << '\n';
    cout << nn << " 0" << '\n';
  }
  return 0;
}
