wrong string to int function. one needs string to long long. we could either use strtoll or atoll