import java.util.*;
import java.util.function.Function;
import java.util.function.ToDoubleFunction;
import java.util.function.ToIntFunction;
import java.util.function.ToLongFunction;


public class main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		
		int n = in.nextInt();
		
		
		 int n1=1,n2=1,n3,count=n;
		 
		 HashSet<Integer> h = new HashSet();
		    
		 for(int i=0;i<=1000;++i)   
		 {    
		  n3=n1+n2;
		  
		  h.add(n3); 
		  
		  n1=n2;    
		  n2=n3;    
		 }
		 if(n==1)
			 System.out.print("O");
		 else if(n==2)
			 System.out.print("OO");
		 else{
		 
		 System.out.print("OO");
		 
		 for (int i=3; i<=n; i++){
			 if(h.contains(i))
				 System.out.print("O");
			 else 
				 System.out.print("o");
		 }
		 }
		 
		 
		
	}
	
}




