n=int(input())
n0=1
n1=2
ans="OO"
for i in range(3,n+1):
     if n1+n0==i:
          ans+="O"
          temp=n1
          n1=n1+n0
          n0=temp
     else:
          ans+="o"
print(ans)
     
     
