#print(" ".join(map(str, r)))
r = int(input())
m = "O"
s=[]
if r == 1:
        print ("O")
elif r == 2:
        print("OO")

else:
    s.append(1)
    s.append(1)
    for i in range(2, r+1):
        a = s[i-1] + s[i-2]
        s.append(a)
        if i in s:
            m += "O"
        else:
            m += "o"
    print(m)




