type-casted all numerical values to long long