first code golf problem; had 205 characters