from math import *
def isPerfectSquare(n):
    root = int(sqrt(n))
    return root**2 == n

def isFibonacci(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 isFibonacci(i):
        res+='O'
    else:
        res+='o'
print(res)
