#include <bits/stdc++.h>   using namespace std;   unsigned long long gcd(unsigned long long a, unsigned long long b) {     if (b == 0) {       return a;     }     return gcd(b, a % b);   }   int main() {     unsigned long long n, m, k;     cin >> n >> m >> k;     unsigned long long h = 2 * n * m;     if (h % k == 0) {       cout <<  YES  << endl;       bool isKEven = false;       if (k % 2 == 0) {         isKEven = true;         k /= 2;       }       int y1 = 0, x2 = 0, x3 = 0, y3 = 0;       unsigned long long gx = gcd(n, k);       k /= gx;       unsigned long long x1 = n / gx;       unsigned long long gy = gcd(m, k);       k /= gy;       unsigned long long y2 = m / gy;       if (!isKEven) {         if (x1 < n) {           x1 *= 2;         } else {           y2 *= 2;         }       }       cout << x1 <<     << y1 << endl;       cout << x2 <<     << y2 << endl;       cout << x3 <<     << y3 << endl;     } else {       cout <<  NO ;     }   }   