import java.util.*;

public class Try {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();

		List<Integer> l = Arrays.asList(1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1, 597);

		// System.out.println(l);

		String s = "";

		for (int i = 1; i <= n; i++) {
			if (l.contains(i))
				s += "O";
			else
				s += "o";
		}

		System.out.print(s);

		in.close();
	}
}