Find the Punishment Number of an Integer