import java.util.ArrayList;
        import java.util.Arrays;
        import java.util.Scanner;

public class Singleton_Pattern {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        boolean a[] = new boolean[((n/10)+1)*10];
        Arrays.fill(a,false);
        int f1 = 1;
        int f2 = 1 ;
        a[1]=true;
        a[2]= true;
        for (int i = 3; i < a.length; i++) {
            int fn= f1+f2;
            if (fn<=n) {
                a[fn] = true;
                f1 = f2;
                f2 = fn;
            }
        }
        String s = "";
        for (int i = 1; i <n+1 ; i++) {
            if (a[i]==true)
                s = s+'O';
            else
                s = s+ 'o';
        }
        System.out.println(s);
    }
}
