#include<stdio.h>
int main()
{
	int A,B,C;
	scanf("%d%d",&A,&B);
	C=A*B;
	printf("%d",C);
	return 0;
} 
#include <bits/stdc++.h>
#define sz(arr) (int)arr.size()
#define all(arr) arr.begin(), arr.end()

using namespace std;

void _cin() {}
template <class Head, class... Tail>
void _cin(Head&& head, Tail&&... tail) {
  cin >> head;
  _cin(forward<Tail>(tail)...);
}

#define Cin(T, ...) \
  T __VA_ARGS__;    \
  _cin(__VA_ARGS__)

int main() {
  Cin(int, n, k);

  cout << n - k + 1 << endl;

  return 0;
}