a=int(input())
b=["O"]
c=["o"]*a
b.extend(c)
d=[int(1)]*a
for i in range(2,len(d)):
    d[i]=d[i-1]+d[i-2]
for j in range(len(d)):
    if d.count(j)!=0:
        b[j]="O"
b.remove(b[0])
print("".join(b))