n = int(input().strip())
a,b = 0,1
arr = [1]
while len(arr) < n:
    nth = a+b
    a,b = b,nth
    arr.append(nth)

string = ""
for i in range(1,n+1):
    if i in arr:
        string += "O"
    else:
        string += "o"
print(string)

