sequence,dp