import java.io.*;
import java.util.*;
import java.lang.StringBuilder;

public class Main {
	public static void main(String[] args) {
		MyScanner myScanner = new MyScanner();
		PrintWriter printWriter = new PrintWriter(new BufferedOutputStream(System.out));
		new Solver().solve(myScanner, printWriter);
		printWriter.close();
	}

	private static class Solver {

		public void solve(MyScanner in, PrintWriter out) {
			int n = in.nextInt();
			boolean[] isFibo = new boolean[n + 1];

			Arrays.fill(isFibo, false);

			for (int i1 = 1, i2 = 1, i3 = 1; i3 <= n;) {
				isFibo[i3] = true;
				i3 = i1 + i2;
				i1 = i2;
				i2 = i3;
			}

			StringBuilder str = new StringBuilder();
			for (int i = 1; i <= n; i++) {
				str.append(isFibo[i] ? 'O' : 'o');
			}
			out.println(str);
		}
	}

	private static class MyScanner {
		BufferedReader br;
		StringTokenizer st;

		public MyScanner() {
			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;
		}

	}

}