

import java.util.Scanner;

public class A {
     static long fibo(int n) {
    if ( n <= 1 )
      return 1;
    else
      return fibo(n-2) + fibo(n-1);
  }
 public static void main(String[] args) {
	 Scanner sc=new Scanner(System.in);
     int n=sc.nextInt();

      for(int i=1;i<n;i++)
     { 
        if(n==fibo(i) )
         System.out.print("O");
         
         else
         System.out.print("o");
        
         
        
     }
     
 }
}
