import java.util.*;
public class c459_p1{
	public static void main(String[] args){
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		Vector<Integer> v=storeFib(n);
		char[] arr=new char[n];
		Iterator<Integer> it=v.iterator();
		while(it.hasNext()){
			int k=(it.next());
			//System.out.println(k);
			arr[k-1]='O';
		}
		for(int i=0;i<n;i++){
			if(arr[i] !='O')
				arr[i]='o';
		}
		for(int i=0;i<n;i++){
			System.out.print(arr[i]);
		}
	}
	
	static Vector<Integer> storeFib(int n){
		Vector<Integer> v=new Vector<Integer>();
		int temp=1;
		int temp1=1;
		if(n>=1)
			v.add(1);
		while((temp1+temp)<=n){
			v.add(temp+temp1);
			int temp2=temp1;
			temp1=temp+temp1;
			temp=temp2;
		}
		return v;
	}
}