from math import *

def isPerfectSquare(n):
    sq = int(sqrt(n))
    return sq*sq == n

def isFibonacciMember(n):
    return isPerfectSquare(5*n*n+4) or isPerfectSquare(5*n*n-4)

n = int(input())
res = str()
for i in range(1,n+1):
    if isFibonacciMember(i):
        res+='O'
    else:
        res+='o'
print(res)