import java.util.Scanner;

public class Test { 

static  boolean isPerfectSquare(int x) 
    { 
        int s = (int) Math.sqrt(x); 
        return (s*s == x); 
    } 
       
    // Returns true if n is a Fibonacci Number, else false 
    static boolean isFibonacci(int n) 
    { 
        // n is Fibonacci if one of 5*n*n + 4 or 5*n*n - 4 or both 
        // is a perfect square 
        return isPerfectSquare(5*n*n + 4) || 
               isPerfectSquare(5*n*n - 4); 
    } 
  

  
// Driver program  
    public static void main(String[] args) { 
    
    Scanner keyboard = new Scanner(System.in);
    
    long number;
    int line = Integer.parseInt(keyboard.nextLine());
    
    
    for(int i=1;i<line+1;i++){
        if(isFibonacci(i)){
			System.out.print("O");
		} else {
			System.out.print("o");
		}
    }
    
} 

}