#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
  while (b != 0) {
    a %= b;
    swap(a, b);
  }
  return a;
}
int main() {
  long long n, m, k;
  cin >> n >> m >> k;
  if (n * m * 2 % k != 0) {
    cout << "NO";
  } else {
    bool flag = true;
    if (k % 2 == 0) {
      k /= 2;
      flag = false;
    }
    long long g = gcd(k, n);
    long long kk = k / g;
    long long a = n / g, b = m / kk;
    if (flag) {
      if (a < n) {
        a *= 2;
      } else {
        b *= 2;
      }
    }
    cout << "YES" << endl;
    cout << "0 0" << endl << a << " 0" << endl << "0 " << b;
  }
}
