#include using namespace std; int main() { int l, n, w, sum = 0; cin >> l >> n; for(int i = 0; i < n; i++) { cin >> w; sum += w; } cout << round(sum / l) + 1 << endl; }