uva490 rotational sentences