import java.util.*;
import java.math.*;
import java.io.*;

public class CF918A {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int[] fib = new int[1000];
		Set<Integer> set = new HashSet<>();
		fib[0] = fib[1] = 1;
		set.add(1);
		for(int i = 2 ;; i++) {
			fib[i] = fib[i-1] + fib[i-2];
			set.add(fib[i]);
			if(fib[i] > 1000)
				break;
		}
		char[] res = new char[scan.nextInt()];
		for(int i = 0 ; i < res.length ; i++) {
			res[i] = 'o';
			if(set.contains(i+1))
				res[i] = 'O';
		}
		System.out.println(new String(res));
	}
}
