In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['E', 10003, 1415, 2851, 'r', 'T', 1651, 'c', 2183, '8455', '5813', '9639', '7123', '4435', 'b', 'H', '7329', 'f', 'i', '8071', '4667', '3035', 'O', 'N', '5683', '5511', '6327', '2523', 'q', '5319', 'v', '5741', 'j', 479, 6047, 'p', 'W', 8065, 5151], ['g', 3103, 1015, 8495, 'y', 8417, '8455', '5813', '9639', '7123', '4435', 'b', 'H', '7329', 'f', 'i', '8071', '4667', '3035', 'O', 'N', '5683', '5511', '6327', '2523', 'q', '5319', 'v', '5741', 'w', 'c', 7033, 'y', 8705, 8131, 2951, 'E', 9005, 'v', 'U', 8399, 'G', 7597]