a = 1
b = 1
l = {}
l[a] = 1
l[b] = 1
c = a+b
while(c<1002):
    c = a+b
    l[c] = 1
    a, b = b,a+b



n = input()
s = ""
for i in range(1,n+1):
    try:
        chomu = l[i]
        s += "O"
    except:
        s+= "o"

print s
