public class Eleven{
	public static void main(String []args){
		
		java.util.Scanner scan=new java.util.Scanner(System.in);
		int n=scan.nextInt();
		int left=1,right=1,temp;
		String strFinal=""+'O';
		for(int i=2;i<=n;i++){
			//System.out.println(left+" "+right+" "+i);
			if(left+right==i){
				strFinal+=""+'O';
				temp=left;
				left=right;
				right=temp+left;
			}else{
				strFinal+=""+'o';
			}
		}
		System.out.println(strFinal);
		
		
		
	}
}