#include <bits/stdc++.h>
using namespace std;
inline long long read() {
  long long x = 0, f = 1;
  char cc = getchar();
  while (cc < '0' || cc > '9') {
    if (cc == '-') f = -1;
    cc = getchar();
  }
  while (cc >= '0' && cc <= '9') {
    x = x * 10 + cc - '0';
    cc = getchar();
  }
  return x * f;
}
long long n, m, k, s, g, a, b;
inline long long gcd(long long a, long long b) {
  while (b) {
    long long r = a % b;
    a = b;
    b = r;
  }
  return a;
}
int main() {
  n = read();
  m = read();
  k = read();
  s = n * m;
  g = gcd(s, k);
  if (k / g > 2) {
    printf("NO");
    return 0;
  }
  a = gcd(n, k);
  k /= a;
  a = n / a;
  b = gcd(m, k);
  k /= b;
  b = m / b;
  printf("YES\n");
  printf("0 0\n");
  if (k == 2) {
    printf("%I64d 0\n0 %I64d", a, b);
    return 0;
  }
  if (a * 2 <= n)
    a *= 2;
  else
    b *= 2;
  printf("%I64d 0\n0 %I64d", a, b);
}
