import java.util.Scanner;
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       short n = sc.nextShort();
       int fib[] = new int[n], p = 1;
       fib[0] = 1;
       fib[1] = 1;

       for (short i = 2; ; i++){
           fib[i] = fib[i-1] + fib[i-2];
           if (fib[i] >= n)
               break;
       }

       System.out.print("O");
       for (short i = 1; i <= n; i++){
           if (i == fib[p]) {
               System.out.print("O");
               p++;
           }
           else System.out.print("o");
       }
    }
}
