#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, h, w);

  cout << (n - h + 1) * (n - w + 1) << endl;

  return 0;
}
#include<iostream>
#include<vector>
using namespace std;

int main(){
   string s;
   cin >> s;
   
   for(int i=0;i<s.size();i++){
       if(s[i]=='h'){
           if(s[i+1]=='i'){
               i++;
           }else{
               cout << "No" << endl;
           return 0;
           }
       }else{
           cout << "No" << endl;
           return 0;
       }
   }
   cout << "Yes" << endl;
}