# 918_A_Eleven.py

arrFibos = []

a = 1
b = 1

arrFibos.append(a)
arrFibos.append(b)

while a + b <= 1000:
    arrFibos.append(a + b)
    tmp = a
    a += b
    b = tmp

def isFibo(x):

    for i in range(len(arrFibos)):
        if x == arrFibos[i]:
            return True
    
    return False

def getName(size):

    name = ""

    for i in range(size):
        if isFibo(i + 1):
            name += "O"

        else:
            name += "o"

    return name

size = int(input())
print(getName(size))