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