In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 3127, 811, 'p', 'L', 'z', 3227, 'p', '4453', 'F', 'H', '1053', 'x', '3611', 's', '5825', 'o', 'N', '6299', '8721', '7837', '1791', 'Y', 'x', 2495, 'Z', 'I', 'E', 'g', 'c', 'p', 7505, 8375, 5591], [8433, 'F', 1971, '4453', 'F', 'H', '1053', 'x', '3611', 's', '5825', 'o', 'N', '6299', '8721', '7837', '1791', 'Y', 'B', 10025, 'e', 'D', 8991, 'b', 7987, 'm', 6279, 2005, 'Q']