In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2299, 'Y', 659, 'u', 3831, 653, 2073, 'M', 3031, 8495, 'u', 'j', '2069', '1235', 'n', '9813', '9693', '9877', 'T', '5421', '7017', 'L', '231', 'Y', 'd', 'U', 2467, 'c', 8527, 6465, 2931, 'T', 'T', 8515, 2663, 971], ['C', 6721, 'j', 'C', '2069', '1235', 'n', '9813', '9693', '9877', 'T', '5421', '7017', 'L', '231', 'Y', 'H', 's', 3725]