def fibonacci(number):
    t=[1,1]
    while t[-1]<=number:
        a=t[-2]+t[-1]
        t.append(a)
    s=''
    for i in range(1,number+1):
        if i in t:
            s=s+'O'
        else:
            s=s+'o'
    return s
print(fibonacci(int(input())))
