import java.util.Scanner;

/**
 * Created by Rukshar Alam on 12/1/2018.
 */
public class Eleven_918A {

    static boolean isInFibNums(int k, int[] fib){
        int n = fib.length;
        for(int i =1;i<n;i++){
            if(fib[i] ==k){
                return true;
            }
        }
        return  false;
    }
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();

        int fibNumbers[] = new int[20];
        fibNumbers[1] = 1;
        fibNumbers[2] = 1;
        for(int i =3;i<=17;i++){
            fibNumbers[i]= fibNumbers[i-1]+fibNumbers[i-2];
        }

        for(int i =1;i<=n;i++){
            if(isInFibNums(i, fibNumbers)){
                System.out.print("O");
            }
            else{
                System.out.print("o");
            }
        }
    }
}
