#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e9 + 7;
const int N = 3e5 + 10;
long long gcd(long long n, long long m) { return m == 0 ? n : gcd(m, n % m); }
int main() {
  long long n, m, k;
  cin >> n >> m >> k;
  long long g = gcd(n * m, k);
  if (k / g > 2) {
    puts("NO");
    return 0;
  }
  long long g1 = gcd(n, k);
  long long x = n / g1;
  k /= g1;
  long long g2 = gcd(m, k);
  long long y = m / g2;
  k /= g2;
  puts("YES");
  if (k == 1) {
    if (x * 2 <= n)
      x *= 2;
    else
      y *= 2;
  }
  cout << "0 0" << endl;
  cout << x << ' ' << 0 << endl;
  cout << 0 << ' ' << y << endl;
  return 0;
}
