Inverse Ackermann without pain