import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//      char[] s = new char[1001];
        int[] a = new int[1001];
        for (int i = 0; i < a.length; i++) {
            if (i < 2){
                a[i] = 1;
            }else {
                a[i] = a[i-1] + a[i-2];
            }
        }
        int n = sc.nextInt();
        boolean isFlag;
        for (int i = 1; i <= n; i++) {
            isFlag = false;
            for (int j = 0;j < n;j++){
                if (i == a[j]){
                    System.out.print("O");
                    isFlag = true;
                    break;
                }
            }if (!isFlag){
                System.out.print("o");
            }
        }
    }
}
      	 						  		 		   	 		 	