l=int(input())
ans=""
a=[1,1]
for i in range(2,l):
    a.append(a[i-1]+a[i-2])
  

for x in range(1,l+1):
    if (x in a):
        ans=ans+'O'
    else:
        ans=ans+'o'
        
print(ans)        
    
    
    
