Solution for Leaving Early Problem