In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 'f', 1721, 'f', 2533, 'F', '4641', '3027', '6313', 'r', '9149', '2335', '6679', '3545', '6821', 'P', '2935', 'H', 'V', 2709, 'k', 'j', 6607, 'X', 8009, 3633, 'j', 1201, 'k', 7649, 'R'], [5395, 4969, 1031, 'H', 'u', 'D', 5497, 'J', 'Z', 4193, 5391, 145, 'F', '4641', '3027', '6313', 'r', '9149', '2335', '6679', '3545', '6821', 'P', '2935', 'H', 'O', 'D', 2439, 'D', 'g', 971, 7737]