import java.util.*;
public class eleven {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		boolean yes = false;
		int[] arr = {1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
		for(int i = 1; i <= n; i++) {
			for(int j = 0; j < arr.length; j++) {
				if(i == arr[j]) {
					System.out.print("O");
					yes = true;
				}
			}
			if(yes == false) {
				System.out.print("o");
			}
			yes = false;
		}
		
		s.close();
	}
	

}
