UVa problem: Nice Licence Plates - Easy