
import java.util.*;

public class Practice {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();int n1;
		n1 = n;
		if(n<5)
		{
			
			n = 4;
		}
		int[] fibo = new int[n];
		
		fibo[0] = 0;
		fibo[1] = 1;
		fibo[2] = 1;
		
		for(int i= 3;i<n;i++)
		{
			fibo[i] = fibo[i-1]+fibo[i-2];
		}
		HashSet<Integer> hash = new HashSet<>();
		
		for(int i = 0;i<n;i++)
		{
			hash.add(fibo[i]);
		}
		for(int i = 1;i<=n1;i++)
		{
			if(hash.contains(i))
				System.out.print('O');
			else
				System.out.print('o');
		}
		
					
		
	}
}