In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: ['t', 'f', 3791, 2099, '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'b', 'f', 'i', 2371, 'W', 'c', 'c', 'l', 5505, 'L', 'w', 'a'], ['s', 5505, 'h', 4601, 4713, 6191, 't', 9213, 'D', 1777, 'E', '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'v', 5275, 'C', 'Y', 3371, 7105, 411, 'f', 8409]
Example Output: 3895, 5725, 7743, 9219, c, 6319, 3099, 3601, a, 2943, 2543, 51, r, w, 2379, 5423, 5807, l

Example Input: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]
Example Output: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695

Example Input: [5199, 8133, '4683', 'U', '7603', '8689', 'S', 'y', 'h'], ['M', 3937, 'Y', 'O', '4683', 'U', '7603', '8689', 'b', 'b']
Example Output:
4683, U, 7603, 8689