import java.util.ArrayList;
import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner alice=new Scanner(System.in);
        int x= alice.nextInt();
        int a=0;
        int b=1;
        int c=1;
        ArrayList<Integer> list = new ArrayList<>();
        list.add(a);
        list.add(b);
        if (x>=3){
            for (int z=0;z<x;z++){
                list.add(c);
                a=b;
                b=c;
                c=a+b;
            }
        }
        for (int q=1;q<x+1;q++){
            if (list.contains(q)){
                System.out.print("O");
            }else {
                System.out.print("o"); //OOOoOooO
            }
        }
    }
}