In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[651, 's', 605, 'O', 'b', 417, 2791, 'V', '7039', '1331', '2555', '983', 'p', 'y', '5867', 'E', 'h', 7723, 2251, 5615, 'e', 'Y', 'B'], [3283, 361, 'l', 4667, 'r', 'V', '7039', '1331', '2555', '983', 'p', 'y', '5867', 'E', 'n', 'a', 'z', 'v', 'H']