n=int(input());
i=1;
n1=1;
n2=1;
nth=0;
H=[];
L=list();
while (i<=n):
        
        L.append(n2);
        nth=n1+n2;
        n1=n2;
        n2=nth;
        i+=1;
       
for j in range(n):
    if ((j+1) in L):
        H.append('O');
    else:H.append('o');
print(H);
    

    
