#include typedef long long int ll; int main(void){ double n,a; scanf("%lf%lf", &n,&a); ll sum = 0; for(int i=0; i