    import java.util.*;
    import java.lang.*;
    public class Solution{
        
    public static void main(String[] args){
        Scanner s=new Scanner(System.in);
        String result="";
        int n=s.nextInt();
        int a[]=new int[n];
        int b[]=new int[n+1];
        a[0]=0;
        a[1]=1;
        for(int i=2;i<n;i++){
            a[i]=a[i-1]+a[i-2];
        }
        for(int j=1;j<=n;j++){
            int y=Arrays.binarySearch(a,j);
            if(y<0)
                result=result+'o';
            else
                result=result+'O';
        }
        System.out.println(result);
        
        
        
    }
  
    
}
    