user_input = int(raw_input())

fib = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987]

new_name = ""
for i in range(1, user_input + 1):
    if i in fib:
        new_name = new_name + "O"
    else:
        new_name = new_name + "o"

print new_name