#include <bits/stdc++.h>
using namespace std;
long long gcd(long long x, long long y) {
  while (x && y) {
    if (x > y)
      x %= y;
    else
      y %= x;
  }
  return x + y;
}
signed main() {
  ios_base::sync_with_stdio(0);
  long long n, m, k;
  cin >> n >> m >> k;
  bool hs2 = false;
  if (k == 1) {
    cout << "NO";
    return 0;
  }
  if (k % 2 == 0) {
    hs2 = true;
    k /= 2;
  }
  long long dn = gcd(n, k);
  long long dm = gcd(m, k / dn);
  if (dn * dm != k) {
    cout << "NO";
    return 0;
  }
  long long tn = n / dn, tm = m / dm;
  cout << "YES\n";
  if (hs2) {
    cout << "0 0\n";
    cout << tn << " 0\n";
    cout << "0 " << tm << "\n";
  } else {
    if (tn < n)
      tn *= 2;
    else
      tm *= 2;
    cout << "0 0\n";
    cout << tn << " 0\n";
    cout << "0 " << tm << "\n";
  }
  return 0;
}
