import java.util.Scanner;
import java.util.Vector;
 
public class Main {
 
    public static int fib(int x){
        if(x==1 || x==2 ){
            return 1;
        }else{
            return fib(x-1)+fib(x-2);
        }
    }
    public static void main(String[] args) {
        Scanner in = new Scanner (System.in);
        Vector<Integer> fibSer=new Vector<>();
        String name="";
        int n=in.nextInt();
        for(int i=1;i<=n;i++){
            int x=fib(i);
            if(x<=n){
                fibSer.add(x);
            }else{
                break;
            }
 
        }
       // System.out.println(fibSer);
        for(int i=0;i<n;i++){
            if(fibSer.contains(i+1)){
                name+='O';
            }else{
                name+='o';
            }
        }
        System.out.println(name);
 
    }
}