import java.io.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import static java.nio.charset.StandardCharsets.UTF_8;

public class Main {

    public static void main(String[] args) throws IOException {
        try (BufferedReader in = new BufferedReader(new InputStreamReader(System.in, UTF_8));
             BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out, UTF_8))) {
            int n = Integer.parseInt(in.readLine().trim());
            List<Integer> fib = new ArrayList<>();
            fib.add(1);
            fib.add(1);
            int s = -1;
            while (s <= n + 2) {
                s = fib.get(fib.size() - 1) + fib.get(fib.size() - 2);
                fib.add(s);
            }
            char[] c = new char[n];
            Arrays.fill(c, 'o');
            for (Integer ss : fib) {
                if (ss <= c.length) {
                    c[ss - 1] = 'O';
                }
            }
            for (char ss : c) {
                out.write(ss);
            }
            out.newLine();
        }
    }
}
