#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
  cin.tie(0);
  cin.sync_with_stdio(0);
  int n;
  cin >> n;
  string s;
  cin >> s;
  int left = count(s.begin(), s.end(), 'L');
  int right = n - left;
  cout << (left + right + 1);
}
