In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 1253, 'U', 1583, 6321, 5759, 5305, 9541, 9687, 't', 'y', 'c', 9999, 'V', 'Q', 2315, 'h', 'l', 'L', 'g', 'v', '1197', '6199', 'p', 'V', 'I', 'W', 'x', 'T', '7439', 'e', '2921', '5851', '3729', '7955', '10031', '6643', '7979', 'f', 'u', 487, 'X', 'r', 'F', 't', 'V', 'G', 477, 'J', 'J', 1119, 2827, 7375, 5919], ['e', 'u', 7715, 'H', 7129, 'Y', 'L', 'g', 'v', '1197', '6199', 'p', 'V', 'I', 'W', 'x', 'T', '7439', 'e', '2921', '5851', '3729', '7955', '10031', '6643', '7979', 'f', 'V', 737, 5843, 'Q', 5781, 'N', 'b', 'f', 'R', 'G', 3119, 3891, 'Z']