import math
a = [0,1]
x = 0
y = 1
name = []
for i in range(1001):
  name.append('o')
  
for i in range(51):
  z = x+y
  x = y
  y = z
  a.append(y)

n = int(raw_input())
ans = ""
for i in range(n):
  if((i+1) in a):
    name[i] = 'O'
  ans += name[i]

print ans

