Coded pick function which also handles card values above ten.