#include<cstdlib>
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n,i,r1,r2,A,B;
cout<<„Unesi broj vrhoba, n= „;
cin>>n;
cout<<„Unesi tacke A i B „<<endl;
cin>>A>>B;
if(A>B) swap(A,B);
r1=B-A;
r2= A+(n-B);
if(r1<r2)
cout<<r1<<“ „<<„CW“<<endl;
else
cout<<r2<<“ „<<„CCW“<<endl;
cout<<endl;
system(„PAUSE“);
return EXIT_SUCCESS;
}