import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Eleven {

    public static void main(String[] args){
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int n = in.nextInt();
        List<Integer> fib = new ArrayList<>();
        fib.add(1);
        fib.add(1);
        for (int i = 2; i <= n; i++){
            fib.add(fib.get(i-1) + fib.get(i-2));
        }
        String str = "";
        for (int i = 1; i <= n; i++){
            if (fib.contains(i)){
                str += "O";
            }
            else str += "o";
        }
        System.out.println(str);
    }

}
