uva; solve "LCD Display" from Volume 7