An axiomatic approach to finite means