ExpectedValue[ f, {1,1,1,1,1,10}, f ]