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