A set of 4 consecutive integers has a sum of 10. What is the greatest of the 4 integers?