#include <bits/stdc++.h>
using namespace std;
mt19937_64 mt(time(0));
long long gcd(long long a, long long b) {
  if (a > b) swap(a, b);
  if (a == 0) return b;
  return gcd(b % a, a);
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cout.precision(10);
  cout << fixed;
  long long n, m, k;
  cin >> n >> m >> k;
  long long nn = n, mm = m;
  long long tmp = gcd(n, k);
  nn /= tmp;
  k /= tmp;
  tmp = gcd(m, k);
  mm /= tmp;
  k /= tmp;
  if (k != 1 && k != 2) {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  cout << 0 << ' ' << 0 << endl;
  if (k == 1) {
    if (mm * 2 <= m)
      mm *= 2;
    else
      nn *= 2;
  }
  cout << nn << ' ' << 0 << endl;
  cout << 0 << ' ' << mm << endl;
  return 0;
}
