#include int main(void){ int n, i; unsigned long num, ans = 0; scanf("%d", &n); for(i=0; i