uva sample input & output