import sys
import math
def input():    return sys.stdin.readline().strip()
def iinput():   return int(input())
def minput():   return map(int, sys.stdin.readline().strip().split()) 
def listinput(): return list(map(int, sys.stdin.readline().strip().split())) 
fib=[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987]
n=iinput()
for i in range(1,n+1):
    if i in fib:
        print('O',end='')
    else:
        print('o',end='')