import java.util.Scanner;

public class Eleven {

	public static boolean ifFibonacci(int n) {
		int arr[]=new int[1000];
		arr[0]=1;
		arr[1]=1;
		for(int i = 2;i<1000;i++) {
			arr[i]=arr[i-1]+arr[i-2];
		}
		for(int i = 0;i<1000;i++) {
			if(arr[i]==n) {
				return true;
			}
		}
		return false;
	}
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		for(int i = 1;i<=n;i++) {
			if(ifFibonacci(i)) {
				System.out.print("O");
			}else {
				System.out.print("o");
			}
		}
		s.close();
	}

}
