import java.io.*;
import java.util.*;
import java.math.*;

public class Solution {
    public static boolean finbonacc(int n){
        if(n==1||n==2){
            return true;
        }
        int a=1,b=1;
        int sum=0;
        while(sum<n){
            sum=a+b;
            a=b;
            b=sum;
            if(n==sum){
                return true;
            }
        }
        return false;
    }
    public static void printElevensName(int n){
        String s="";
        for(int i=1;i<=n;i++){
            if(finbonacc(i))
                s=s+"O";
            else
                s=s+"o";
        }
        System.out.println(s);
    }
    public static void main(String args[]){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        printElevensName(n);
    }
}