import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt(), x = 1, y = x, tmp;
		char[] str = new char[n];
		for(int i = 0; i<n; i++) {
			str[i] = 'o';
		}
		while(y <= n) {
			str[y-1] = 'O';
			tmp = y;
			y = y + x;
			x = tmp;
		}
		System.out.println(str);
	}
}