import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class tes {

	public static void main(String[] args) throws IOException 
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int n;
		n = Integer.parseInt(st.nextToken());
		
		int next=1,prev=1,i=1;
		
		while(i<=n)
		{
			if(i==next) 
			{
				System.out.printf("O");
				next+=prev;
				prev=next-prev;
			}
			else 
				System.out.printf("o");
			i++;
		}
		
	}
	
	
}