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

public class Main {

    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt(), i;
        ArrayList<Integer> fibo = new ArrayList<>();
        int a = 0, b = 1, c;
        fibo.add(0);    fibo.add(1);
        for(i=2;i<1000;i++){
            c = a+b;
            if(!(fibo.contains(c)))
                fibo.add(c);
            a = b;
            b = c;
        }
        for(i=1;i<n+1;i++){
            if(fibo.contains(i))
                System.out.print('O');
            else
                System.out.print('o');
        }
    }
}