import java.util.Scanner;

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