import java.util.*;
 public class Febo 
{
	public static void main(String args[])
	{
		int a=0,b=1,c=0,i,k;
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
	
		int[] q=new int[n];
		for(i=0;i<n;i++){
		 c=a+b;
		 q[i]=c;
	  		a=b;
		    b=c;
		}
		for(k=1;k<=n;k++){	
		
           for(i=0;i<n;i++){
		   if(k==q[i]){
			   System.out.print("O");
			   break;
		   }	
		      if(q[i]>n){
				  System.out.print("o");
			    break;
			  }
		   }	
	       }
	    }
	}




	


