In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'c', 1875, 2799, 'U', '9409', '7347', '6373', '4771', 'x', 'I', 'C', '5829', '5465', 'e', '435', '3273', '2513', '6497', 'm', 'A', 'g', 'g', 'y', 't', 'z', 'K', 9155, 'M', 3757, 7683, 2399, 9697, 'K', 9065, 'D', 'Z', 'z'], ['J', 5489, 'H', 4247, '9409', '7347', '6373', '4771', 'x', 'I', 'C', '5829', '5465', 'e', '435', '3273', '2513', '6497', 'm', 'A', 'g', 'g', 'y', 't', 'O', 't', 'a', 7609, 'V', 'b', 8907, 7801, 8279, 'r', 'N']