#include int main() { int n, i; long long sum=0, t; scanf("%d", &n); for (i=0; i