hdu 1503. DP. Advanced LCS. Very Good.