n=int(input())

arr=[0 for i in range(n+1)]

def maitain(n):
    a=0
    b=1
    arr[0]=1
    arr[1]=1
    sumf=a+b
    while sumf<=n:
        arr[sumf]=1
        a=b
        b=sumf
        sumf=a+b


def main():
    s=""
    maitain(n)
    for i in range(1,n+1):
        if arr[i]==1:
            s=s+"O"
        else:
            s = s + "o"
    print(s)


main()