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+1];
        Arrays.fill(a,false);
        int f1 = 1;
        int f2 = 1 ;
        a[1]=true;
        if (n+1>2)
        a[2]= true;
        for (int i = 3; i < n+1; i++) {
            int fn= f1+f2;
            if (fn>n)
                break;;

            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);
    }
}
