
import java.util.Scanner;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Sachin Singh
 */
public class FiboBabo {
   public static void main(String args[]){
       int n;
       String jh = "";
        System.out.println("enter the lenth of name");
        Scanner sc=new Scanner(System.in); 
        n=sc.nextInt();
        int b[] = getFibo(n);
        for(int i = 1;i<=n;i++){
            boolean h = true;
            for(int j = 0;j<b.length;j++){
                if(i==b[j]){
                    h = false;
                }
            }
            if(h){
                jh+="o";
            }
            else{
                jh+="O";
            }
        }
        System.out.println(jh);
   }
   
   public static int[] getFibo(int n){
       int a = 0;
       int b = 1;
       int arr[] = new int[n*n];
       int c = a + b;
       arr[0] = a;
       arr[1] = b;
       int i = 2;
       while(c<=n){
           c = a + b;
           arr[i] = c;
           a = b;
           b = c;
           i++;
       }
       return arr;
   }
}
