import java.util.HashSet;
import java.util.Scanner;

public class main {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int a[] = new int[n+1];
        HashSet<Integer> hs = new HashSet<>();
        String str = "";
        if(n==1){
            str += 'O';
            System.out.println(str);
            return;
        }
        a[1] = 1; hs.add(a[1]);
        a[2] = 2; hs.add(a[2]);
        for(int i=3; i<=n; i++){
            a[i] = a[i-1]+a[i-2];
            hs.add(a[i]);
        }
        for(int i=1; i<n+1; i++){
            if(hs.contains(i)){
                str += 'O';
            }
            else {
                str += 'o';
            }
        }
        System.out.println(str);
    }
}