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