n = int(input())

i = 0
current = 3
previous = 2
string = "OOO"

while len(string) < n:
    fib = previous + current
    string = string + "o"* (fib - current - 1)
    string += "O"
    if len(string) > n:
        string = string[:-(len(string)-n)]
    i += fib
    previous = current
    current = fib

print(string)
    
