In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'q', 2851, 'R', 8341, 6071, 'Q', 's', 8985, 'H', 3885, 'F', 'F', 'g', 7, 'i', 7647, 5293, 'h', 4181, 1191, 3207, 6163, '165', '8107', 'd', 'A', 's', '6065', '8247', 'i', 'I', 't', 'M', 'd', '3021', '10021', '2637', '6859', '3133', '3405', 'C', 'u', '551', 'C', 'G', '9375', '8893', 'q', 'R', 6019, 751, 1639, 2303, 'V', 'f', 7801, 7239, 2093, 5507, 9317, 4455, 1673, 6127], [2621, 'x', 'z', 'Q', 3827, 1327, 'h', 'F', 7647, 2023, 5403, 'Y', 'G', 6643, 7175, 9991, 1215, 's', 'E', 'U', 'B', '165', '8107', 'd', 'A', 's', '6065', '8247', 'i', 'I', 't', 'M', 'd', '3021', '10021', '2637', '6859', '3133', '3405', 'C', 'u', '551', 'C', 'G', '9375', '8893', 'h', 6541, 6015, 'k', 'E', 'b', 'Z', 4525, 8407, 1127, 1009, 4681, 3141, 1621, 6847, 6065, 4915, 'a', 4809, 8985, 'D']