#include <bits/stdc++.h>
using namespace std;
int main(){
  cout << (19 * 43 + 28 * 47) * 2021 / 27 / 43 / 47 << endl;
}