def code8():
   n=int(input())
   a=1
   b=1
   c=2
   x=[1,1]
   while(c<=n):
      x.append(c)
      c=a+b
      a,b=b,c
   s=""
   for i in range(1,n+1):
      if(i in x):
         s+="O"
      else:
         s+="o"
   print(s)
   
   
code8()
