
import java.math.BigInteger;
import java.util.Scanner;

public class Test 
{
    public static String rec(long a , long b , int n)
    {
        if(a + b > n)
            return "";
        
        long c = a + b;
        
        return c + " " + rec(b , c , n);
   
    }
 
 
    public static String fib(int n)
    {
        String s = "1 1 " + rec(1 , 1 , n);
           
        return s;
        
    }

    public static void main(String[] args)
    {

        
        Scanner in = new Scanner(System.in);
        
        int n = in.nextInt();
        
        String x = fib(n);
        
        String result = "";
        
        for(int i = 1 ; i<=n ; i++)
        {
            if(x.contains(String.valueOf(i)))
                result += 'O';
            else
                result += 'o';
        }
            
            
        System.out.println(result);
    }
}
