



import java.util.Scanner;

public class Coding {

 public static void main(String[] args) {
       Scanner in=new Scanner(System.in); 
       int a =in.nextInt(); 
      
      int n ; 
   long [] x = new long [1000]; 
    char[]z = new char[a] ; 
    
    x[0]= 1 ; 
  if(a>1){
     x[1]= 1 ;
       for (int i = 2; i <x.length; i++) {
           
            x[i] = x[i-1]+ x[i-2] ; 
             }
    }
    
     for (int i = 0; i < a; i++) {
         for (int j = 0; j <x.length; j++) {
             if((i+1)==x[j]) {
                 z[i] ='O';  
                 //System.out.println(i);
                 break ;}
             
         }
         if(z[i]!='O')z[i]='o' ; 
     }
    
   System.out.println(String.valueOf(z));
    }
}
