import java.io.*;
import java.util.*;
public class Sol {
	public static void main(String[] args) {
        // Create a Scanner object to read input from stdin.
		Scanner sc = new Scanner(System.in); 
		int m=sc.nextInt();
        int f1 = 0, f2 = 1,k,i;
        int[] a=new int[m];
        
//running a for loop for fibonacci series
        for (i = 1; i<=m; i++)
        {
            
           a[i-1]=f1;
            int total = f1 + f2;
            f1 = f2;
            f2 = total;
        }
        for(i=1;i<=m;i++)
        //check    
        {
           int c=0;
            for(k=1;k<=m;k++)
            {
            if(a[k-1]<=i)
            {
                if(a[k-1]==i)
                {
                       c=1;
                         break;
                }
            }
            
         else
         {
             System.out.print("o"); 
             break;
         }
            }
            
         if(c==1)
            System.out.print("O");
                
            
        
        }
		
	}
}