import java.util.ArrayList;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);
		
		//inputs
		int n = in.nextInt();
		
		if(n == 1){
	    	System.out.println("O");
	    	System.exit(0);
		}
	    
	    else if(n == 2){
	    	System.out.println("Oo");
	    	System.exit(0);
	    }
		String s = "";
		int [] fi = new int [n+1];
		fi[1]= 1 ;
		fi[2] = 1;

     if(n > 2) {	
	  for(int i=3 ; i<=n ; i++)
		  fi[i] = fi[i-2] + fi[i-1];
	  boolean t = false;   
	  for(int i=1 ; i<=n ; i++){
		  for(int j=1 ; j<=n  ; j++)
		    if(i == fi[j]){
			  s +='O';
			  t = true;
			  break;
		  }
		  if(!t)
	        s += 'o';
		  else
			t = false;
	  }
	}  
	  System.out.println(s);
		
	}

}
