import java.awt.List;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Scanner;
import java.util.TimeZone;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Scanner;
import java.util.TimeZone;

public class Question1 {
	public static void main(String[] args) {
         Scanner sc = new Scanner(System.in);
         int f1 = 1 , f2 = 2 ,  f = 0;
         int n = sc.nextInt();
         char[] arr = new char[n+5];
         arr[f1 - 1] = 'O';
         arr[f2 - 1] = 'O';
         while(f < n) {
        	 f = f1 + f2;
        	 if(f > n)break;
        	 arr[f - 1] = 'O';
        	 f1 = f2;
        	 f2 = f;
         }
         for(int i = 0 ; i < n ; i++) {
        	 if(arr[i] == 'O') {
        		 System.out.print("O");
        	 }else {
        		 System.out.print("o");
        	 }
         }
	}
}

