import java.util.HashSet;
import java.util.Scanner;

public class Eleven {
    public static void main(String[] args){
        HashSet<Integer> position = new HashSet<>();

        Scanner scanner = new Scanner(System.in);
        int len = scanner.nextInt();

        int a = 1;
        int b = 1;
        position.add(1);
        while (b<=len){
            int c = a + b;
            position.add(c);
            a = b;
            b = c;

        }
        StringBuffer sb = new StringBuffer();
        for (int i = 1; i<=len; i++){
            if (position.contains(i)){
                sb.append("O");
            }else {
                sb.append("o");
            }
        }
        System.out.println(sb.toString());
    }
}
