import java.util.Scanner;

public class A {
	
	public static void main(String[] args) {
		
		Scanner in = new Scanner(System.in);

		int n = in.nextInt();
		
		for (int i = 1; i <= n; i++) {
			if (isFibonacci(i))
				System.out.print("O");
			else
				System.out.print("o");
		}
		
		in.close();
	}
	
	public static  boolean isPerfectSquare(int x) {
        int s = (int) Math.sqrt(x);
        return (s * s == x);
    }
      
    static boolean isFibonacci(int n) {
        return isPerfectSquare(5 * n * n + 4) ||
               isPerfectSquare(5 * n * n - 4);
    }
}