nameLenght = int(input())
fNumbs = [0]
fNum = 0

last = 0
now = 1
i = 1
while fNum <= 1000:
    fNumbs.append(last+now)
    last = now
    now = fNumbs[i]
    fNum = now
    i += 1

name = ""
for i in range(1,nameLenght+1):
    if i in fNumbs:
        name += "O"
    else:
        name += "o"

print(name)