import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Eleven {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Set<Integer> set= new HashSet<Integer>();
		
		int f[] = new int[25];
	    
	      
	    /* 0th and 1st number of the series are 0 and 1*/
	    f[0] = 1;
	    f[1] = 1;
	    set.add(f[0]);
	     
	    for (int i = 2; i < 25; i++)
	    {
	       /* Add the previous 2 numbers in the series
	         and store it */
	        f[i] = f[i-1] + f[i-2];
	        set.add(f[i]);
	    }
	    
	    Scanner in= new Scanner(System.in);
	    
	    int n=in.nextInt();
	    
	    String s="";
	    
	    for(int i=1;i<=n;i++) {
	    	if(set.contains(i)) {
	    		s=s+"O";
	    	}
	    	else {
	    		s=s+"o";
	    	}
	    }
	    
	    System.out.println(s);
	    
	 //   System.out.println("OOOoOooOooooOoo".equals(s));
	    
	    

	}

}
