#include <stdio.h>

int main(void) {
	// your code goes here
    int m,n=1;
    scanf("%d",&m);
    n *= m + 1;
    printf("n = %d\n",n);
	return 0;
}
