#include <bits/stdc++.h>
using namespace std;
long long A[10010];
int main() {
  int n;
  string s;
  A[0] = A[1] = 1;
  cin >> n;
  if (n == 1)
    cout << "O" << endl;
  else if (n == 2)
    cout << "O0" << endl;
  else {
    for (int i = 0; i < n; i++) {
      s += 'o';
    }
    s[0] = s[1] = '0';
    for (int i = 2; i < n; i++) {
      A[i] = A[i - 1] + A[i - 2];
      s[A[i] - 1] = '0';
    }
    cout << s << endl;
  }
  return 0;
}
