import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;

public class Solution {

    private void solve() {
        try {
            BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
            PrintWriter out = new PrintWriter(System.out);
            int N = Integer.parseInt(in.readLine());
            List<Long> fib = new ArrayList<>();
            fib.add(1L);
            fib.add(1L);

            for (int i = 2; i <= 20; i++) {
                fib.add(fib.get(i - 1) + fib.get(i - 2));
            }
            for (long i = 1; i <= N; i++) {
                if (fib.contains(i)) {
                    out.print("O");
                } else {
                    out.print("o");
                }
            }
            out.println();
            out.close();
        } catch (IOException e) {
        }
    }

    public static void main(String[] args) {
        new Solution().solve();
    }
}