Old keypad in a foreign land

Problem Name:
Old keypad in a foreign land
Site:HackerEarth
Links:
Tags:
Problem setters: