n1=nth=0
n2=1
count=count101=0
a=[]
nterms=int(input())
while count < nterms+1:
    count101+=1
    a.append(n1)
    nth = n1 + n2
    n1 = n2
    n2 = nth
    count+=1
   
for i in range(1,nterms+1):
  if i in a:
    print('O',end='')
  else:
    print('o',end='')
  