#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 17;
int f(int m, int n, int d) { return m + ceil(double(d) / double(m + 1)); }
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  string s;
  cin >> s;
  int l = 0, r = 0;
  for (auto cur : s) (cur == 'L') ? l++ : r++;
  l *= -1;
  cout << (r - l + 1);
}
