#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); long long int x,y,z; cin >> x >> y >> z; if(z==0) { cout << "ccW" << '\n'; return 0; } if(x==0 && y==0) { cout << "NO" << '\n'; return 0; } if(x==0) { if(z%y!=0) { cout << "NO" << '\n'; } else { long long int A = z/y; if(2*A-1 <= 10000) { for(int i=0;i