Solve THU 1083