import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Codechef
{
    long MOD = 1000000007L;
    int INF = 1000000001;
    public class Obj implements Comparable<Obj>{
        public int t;
        public int h;
        
        public Obj(int t_, int h_){
            t = t_;
            h = h_;
        }
        
        public int compareTo(Obj other){
            return t - other.t;
        }
        
    }
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
        Codechef cf = new Codechef();
        cf.Solve();
	}
	
	boolean[] vis;
	ArrayList<ArrayList<Integer>> con, par;
	
	public int GCD(int a, int b){
	    while (b > 0){
	        int tmp = b;
	        b = a % b;
	        a = tmp;
	    }
	    return a;
	}
	
	public void Solve(){
        MyScanner sc = new MyScanner();
        int n = sc.nextInt();
        char[] arr = new char[n];
        int k = 10000;
        int[] fibo = new int[10000];
        fibo[1] = 1;
        
        int f1 = 1;
        int f2 = 1;
        for (int i = 1; i <= n; ++i){
            if (i == f2){
                fibo[i] = 1;
                int tmp = f2;
                f2 = f2 + f1;
                f1 = tmp;
            }
            // System.out.println(i + " " + fibo[i] + " " + f1 + " " + f2);
        }
        for (int i = 0; i < n; ++i){
            int z = i + 1;
            if (fibo[z] == 1){
                arr[i] = 'O';
            }else{
                arr[i] = 'o';
            }
        }
        String res = new String(arr);
        System.out.println(res);
	}


	//-----------PrintWriter for faster output---------------------------------
   public static PrintWriter out;
      
   //-----------MyScanner class for faster input----------
   public static class MyScanner {
      BufferedReader br;
      StringTokenizer st;
 
      public MyScanner() {
         br = new BufferedReader(new InputStreamReader(System.in));
      }
 
      String next() {
          while (st == null || !st.hasMoreElements()) {
              try {
                  st = new StringTokenizer(br.readLine());
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
          return st.nextToken();
      }
 
      int nextInt() {
          return Integer.parseInt(next());
      }
 
      long nextLong() {
          return Long.parseLong(next());
      }
 
      double nextDouble() {
          return Double.parseDouble(next());
      }
 
      String nextLine(){
          String str = "";
      try {
         str = br.readLine();
      } catch (IOException e) {
         e.printStackTrace();
      }
      return str;
      }

   }
}