#define U(V,X) while(N>=V)S+=X,N-=V; ll@N;string S;U(720,'C')U(360,'M')U(180,'S')U(30,'R')U(6,'o')U(1,'.');wt(S);