#include <bits/stdc++.h>
using namespace std;
long long n, s, a;
long long worst_case() {
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> a, s = s + (a - 1) * i;
  return s + n;
}
int main() { cout << worst_case(); }
