import java.util.Scanner;

/**
 * Created by kareem on 1/29/2018.
 */
public class test {
    public  static void  main(String [] args){

        Scanner m= new Scanner(System.in);
        int n =m.nextInt();
        int [] fav= new int[n+1];
        fav[0]=1;
        if(n>1) fav[1]=1;
        for (int i=2;i<n+1;i++){
            fav[i]=fav[i-1]+fav[i-2];

        }
        String s="";
        if(n!=0){


            for(int i=1;i<n+1;i++){
                boolean flag=false;
                for(int j=0;j<n+1;j++){
                    if(i==fav[j]){flag=true; break;}
                }

                if(flag){s+="O";}else {s+="o";}
            }

        }
        System.out.println(s);
    }
}
