Solutions to some trivial and classic UVa problems...