import java.util.Arrays;
import java.util.Scanner;

public class _0233Eleven {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int n=sc.nextInt();
		char[] charArray = new char[n];
		Arrays.fill(charArray, 'o');
		String str = new String(charArray);
		StringBuilder input = new StringBuilder(str);
		if(input.length()==1)
		{
			System.out.println("O");
			return;
		}
		int n1=0;
		int n2=1;
		input.setCharAt(n1,'O');

		input.setCharAt(n2,'O');
		int n3=n1+n2;
		while(n3<=n) {
			input.setCharAt(n3-1, 'O');
			n1=n2;
			n2=n3;
			n3=n1+n2;
		}
		System.out.println(input);
	}

}
