import java.text.*;
import java.util.*;

public class CodeForces9 {

		public static void main(String [] args)
		{
			
			Scanner sc = new Scanner(System.in);
			
			int num = sc.nextInt();
			
			int fn1 = 0;
			int fn2 = 1;
			int fn = fn1 + fn2;
			for(int i = 1 ; i <= num ; i++)
			{

				
				if(i == fn)
				{
					System.out.print("O");
					int tmp = fn2;
					fn2 = fn;
					fn1 = tmp;
					fn = fn1 + fn2;

				}
				else
					System.out.print("o");
				
				

				

			}
			

		}

}