import java.util.*;


public class Main {
    public static void main(String[] args) {
        Scanner newSc = new Scanner(System.in);
        int n = newSc.nextInt();
        ArrayList<Integer> list = fib(n);
        for(int i = 0;i < n; i += 1){
            if(list.contains(i + 1) || i == 1)
                System.out.printf("%c", 'O');
            else
                System.out.printf("%c", 'o');
        }
    }
    private static ArrayList<Integer> fib(int n){
        int a = 1, b = 1;
        ArrayList<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(1);
        for(int i = 0; i < n - 2; i += 1){
            list.add(a + b);
            int temp = b;
            b = a + b;
            a = temp;
        }
        return list;
    }
    }


