import java.util.*;
 
public class Main{
   public static void main(String[] args) {
      // Use the Scanner class
      Scanner sc = new Scanner(System.in);  
      /*
      int n      = sc.nextInt();        // read input as integer
      long k     = sc.nextLong();       // read input as long
      double d   = sc.nextDouble();     // read input as double
      String str = sc.next();           // read input as String
      String s   = sc.nextLine();       // read whole line as String
      */
      int n      = sc.nextInt(); 
      boolean[] fib = new boolean[n];
      if(n >= 1){
          fib[0] = true;
      }
      if(n >= 2){
          fib[1] = true;
      }
      int fib0=1;
      int fib1=1;
      while (fib0+fib1<=n){
          int fib2 = fib0+fib1;
          fib[fib2-1]=true;
          fib0=fib1;
          fib1=fib2;
      }
      StringBuffer sb = new StringBuffer();
      for(int i=0; i<n; i++){
          if(fib[i]){
              sb.append('o');
          }else{
              sb.append('O');
          }
      }
      System.out.println(sb.toString());
    }
}