import java.util.*;
import java.lang.*;
public class Main {

    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int n =sc.nextInt();
        int arr[]=new int[1700];
        for(int i=1;i<=17;i++) {
            arr[fibonacci2(i)]=1;
        }
        for(int i=0;i<n;i++){
            if(arr[i+1]==1) {
                System.out.print("O");
            }
            else System.out.print("o");
        }
    }

    public static int fibonacci2(int number) {
        if (number == 1 || number == 2) {
            return 1;
        }
        int fibo1 = 1, fibo2 = 1, fibonacci = 1;
        for (int i = 3; i <= number; i++) {
            fibonacci = fibo1 + fibo2;
            fibo1 = fibo2;
            fibo2 = fibonacci;
        }
        return fibonacci; //Fibonacci number }
    }
}
