Revert "uva10141"

This reverts commit 871b729cfe4c56f0b50dc6a4fda6d1e06c38c46c.