n1=0
n2=1
string=""
n=int(input())
count=0
nth=""
while(count<n):
    string+=str(n1)
    nth=n1+n2
    n1=n2
    n2=nth    
    count+=1
name=""
for i in range(0,n):
    if(str(i+1) in string):
        name+="O"
    else:
        name+="o"
        
print(name)  
  