int -> long long in getResult