import java.util.ArrayList;
import java.util.Scanner;

public class Solution {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		ArrayList<Long> fib = new ArrayList<>();
		fib.add((long) 1);
		fib.add((long) 1);
		int n = sc.nextInt();
		for (int i = 2; i < n; i++) {
			fib.add(fib.get(i - 2) + fib.get(i - 1));
		}
		for (long i = 1; i <= n; i++) {
			if (fib.contains(i)) {
				System.out.print("O");
			} else {
				System.out.print("o");
			}
		}

		sc.close();

	}

}