import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.StringTokenizer;

public class First {

    public static void main(String[] args) {
        FastReader reader = new FastReader();
        int n = reader.nextInt();

        ArrayList<Integer> fib = new ArrayList<>();
        fib.add(1);
        fib.add(1);

        while (fib.get(fib.size() - 1) < n) {
            fib.add(fib.get(fib.size() - 1) + fib.get(fib.size() - 2));
        }

        StringBuilder sb = new StringBuilder();
        int pos = 1;
        for (int i = 1; i <= n; i++) {
            if (fib.get(pos) == i) {
                sb.append('O');
                pos++;
            } else {
                sb.append('o');
            }
        }
        System.out.println(sb.toString());
    }

    public static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }
}