#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j, l = 0, r = 0;
  cin >> n;
  string s;
  cin >> s;
  for (i = 0; i < n; i++) {
    if (s[i] == 'L')
      l--;
    else
      r++;
  }
  cout << abs(r - l) + 1 << endl;
  return 0;
}
