#include <bits/stdc++.h>
using namespace std;
#define int long long
ifstream fin("running.in");
ofstream fout("running.out");
#define cin fin
#define cout fout
const int N = 1e3 + 10;
int n, x;
int a[N], b[N];
signed main()
{
cin >> n >> x;
for (int i = 1; i <= n; i++) cin >> a[i];
int ans = 0;
for (int i = 1; i <= n; i++) cin >> b[i], ans += (a[i] - b[i])*x;
if (ans > 10000) cout << "2 hard 4 me";
else cout << ans;
}