n=int (input())
i=1;
f1=1;
f2=1;
f=0;
h="";
L=list();
while (i<=n):
    L.append(f2);
    f=f1+f2;
    f1=f2;
    f2=f;
    i+=1;

for j in range (1,n):
    if (j in L):
        h+='O';
    else:
        h+='o';
print(h);
