Simple UVA check code