import math
def check(n):
    sqrt=int(math.sqrt(n))
    if pow(sqrt,2)==n:
        return True
    else:
        return False
def isFibonacciNumber(n):
    res1=5 * n * n + 4
    res2=5 * n * n - 4
    if check(res1) or check(res2):
        return True
    else:
        return False
n=int(input("Enter an integer number:\n "))
name=""
for i in range(1,n+1):
    if isFibonacciNumber(i):
        name=name+'O'
    else:
        name=name+'o'
print(name)