memo={}
n=10
def fib(n):
   if n in memo:
      return memo[n]
   if n<=2:
      f=1
   else:
      f=fib(n-1)+fib(n-2)
   memo[n]=f
   return f
p=fib(17)
aantalletters=int(input())
letters='' 
for k in range(1,aantalletters+1):
    if int(k) in memo.values():
        letters+='O'
    else:
        letters+='o'
print(letters)