A solutions to a famous phone number encoding problem