#include using namespace std; int main(void){ // Your code here! long long int a,b,c = 0,d; cin >> a >> b; for(int i = 0; i < b; i++){ cin >> d; c += d; } cout << (c + a - 1) / a; }