AN INEQUALITY FOR CONVEX FUNCTIONS