#include <bits/stdc++.h>
using namespace std;
int main() {
  char c;
  int n, left = 0, right = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> c;
    if (c == 'L')
      left--;
    else if (c == 'R')
      right++;
  }
  cout << right - left + 1 << endl;
  return 0;
}
