
import java.util.Scanner;


public class Eleven {
    //public static int f[n+1];
    
    static int fibonacciCheck(int x,int n){
        int[] f=new int[n+1];
        f[0]=0;
        f[1]=1;
        if(x==0 || x==1){
            return 1;
        }
        for(int i=2;i<n;i++){
            //System.out.println("Hello");
            f[i]=f[i-1]+f[i-2];
            if(x==f[i]){
                return 1;
            }
        }
        return 0;
    }
    
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        char[] name=new char[n];
        int j;
        for(int i=1;i<=n;i++){
            j=fibonacciCheck(i,n);
            if(j==1){
                name[i-1]='O';
            }
            else{
                name[i-1]='o';
            }
        }
        for(int i=0;i<n;i++){
            System.out.print(name[i]);
        }
    }
}
