while 2>1:
    n=int(input())
    if n>0:
        break
if n==1 or n==2:
    print("O")
else:

    ch='O'
    l=[1,1]
    for i in range(2,n):
        l.append(l[i-1]+l[i-2])
    c=2
    i=1
    while (c<=n):
       if l[i+1]<c:
           i=i+1

       if l[i+1]==c:
           ch=ch+"O"
           c=c+1
       elif l[i+1]>c:
           ch=ch+'o'
           c=c+1
    print(ch)
