import java.util.Scanner;

public class Codeforces_918A {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        int[] a = new int[n+5];
        a[0] = 0;
        a[1] = 1;
        int f=0, ff=1;
        for(int i=2; i<=n; i=f+ff)
        {
            a[i]=1;
            f=ff;
            ff=i;
        }
        for(int i=1; i<=n; i++)
        {
            if (a[i]==1)
                System.out.print("O");
            else
                System.out.print("o");
        }
    }
}
