import java.util.*;

/**
 * Eleven
 */
public class Eleven {

    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        int x[]=new int[20];
        x[0]=x[1]=x[2]=1;
        for (int i = 3; i < x.length; i++) {
            x[i]=x[i-1]+x[i-2];
            //System.out.println(x[i]);
        }
        int n=input.nextInt();
        char cl='o';
        char cu='O';

        for (int i = 1; i < n+1; i++) {
            boolean t=checkarray(i,x);
                if (t) {
                    System.out.print(cu);
                }
                else{
                    System.out.print(cl);
                }
            
        }
        input.close();
    }

    private static boolean checkarray(int i, int[] x) {
        for (int j : x) {
            if(j==i){
                return true;
            }
        }
        return false;
    }
}