/******************************************************************************

Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.

*******************************************************************************/
import java.util.*;
public class Main
{
	public static void main(String[] args) {
	Scanner sc=new Scanner(System.in);
	int i,f1=0,f2=1,f3,l=2,k=0;
	int n=sc.nextInt();
	int a[]=new int[n+1];
	a[0]=f1;
	  if(n==1)
	    a[1]=f2;
	    else if(n==2)
	    {
	       
	        a[1]=f2;
	        f3=f1+f2;
	        a[2]=f3;
	    }
	    else{
	        
	        while(k<n-2)
	        {
	     a[0]=f1;
	     a[1]=f2;
	     f3=f1+f2;
	     a[l]=f3;
	     f1=f2;
	     f2=f3;
	     l++;
	            k++;
	        }
	    }
	    
	    
	    for( i=1;i<=n;i++)
	    {int j;
	        for( j=0;j<=n;j++)
	        {
	            if(i==a[j])
	            {
	               System.out.print("O");
	               break;
	            }
	            
	        }
	        if(j==n)
	        System.out.print("o");
	        
	    }
	    
	    
	}	    
}
