n= int(input())
f0=0
f1=1
fn=0
l1=[]
str=""
while(fn<=n):
    fn=f0+f1
    f0=f1
    f1=fn
    l1.append(fn)
for i in range(1,n+1):
    if i in l1:
        str=str + "O"
    else:
        str=str + "o"

print(str)