In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[429, 'e', 9631, 'c', 4565, 'I', 1301, 2311, '3117', 'h', '3499', '7455', '5439', 'U', 'C', '9917', '8447', 'j', 'f', '6591', 'f', '9183', 'T', 'q', 1911, 'l', 's', 'n', 'r', 1221, 9257], [2877, 'f', 'Y', 3249, 2953, 5751, 6427, 4137, 2747, 5461, 'l', '3117', 'h', '3499', '7455', '5439', 'U', 'C', '9917', '8447', 'j', 'f', '6591', 'f', '9183', 'c', 't', 'u', 'L', 'O', 'g', 'L', 2025, 'L', 'j', 2019]