Given sequence of diamonds with mass/clarity, find the longest increasing subsequence. Simple DP.