import java.io.*;
import java.util.Arrays;


public class Eleven {

  public static void main(String[] args){

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try{

      int size = Integer.parseInt(br.readLine());
      int[] arr = new int[size+1];
      arr[0] = 1;
      arr[1] = 1;
      for(int i = 2; i <= size; i++){
        arr[i] = arr[i-1] + arr[i-2]; 
      }

      StringBuilder sb = new StringBuilder();

      char[] ch = new char[size];
      if(size > 1){
        for(int i = 0; arr[i] <= size; i++){
          ch[arr[i] - 1] = 'O';
        }
      }

      for(int i = 0; i < size; i++){
        if(ch[i] != 'O'){
          ch[i] = 'o';
        }
      }


      System.out.println(new String(ch));

    }catch(IOException ioe){
      ioe.printStackTrace();
    }
  }
}
