import java.io.*;
import java.util.*;
public class Main { // "Main" should be used for most online judges
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		ArrayList<Integer> fib = new ArrayList<Integer>();
		int prev1 = 1;
		int prev2 = 1;
		int curr = 1;
		fib.add(prev2);
		while(curr <= n) {
			curr = prev1 + prev2;
			prev1 = prev2;
			prev2 = curr;
			fib.add(curr);
		}
		String toReturn = "";
		int count = 0;
		for(int i = 0; i < n; i++) {
			if(count < fib.size() && i == fib.get(count) - 1) {
				count++;
				toReturn += 'O';
			}
			else {
				toReturn += 'o';
			}
		}
		System.out.println(toReturn);
		
	}
}