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

Example Input: ['U', 'S', 1413, 'O', 'j', 5221, 6645, 7877, 5445, 'K', 7223, 'u', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'i', 'n', 9101, 'Q', 6009, 'f', 5025, 5631, 4575, 't', 'u', 8185, 'Z', 1459, 9567, 1549, 9011, 'A', 'k', 'w', 1513, 1063, 8087, 't'], [8547, 'W', 1709, 'c', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'K', 4041, 6407, 6049, 9859, 4451, 7035, 5861, 323, 3431, 'g', 'X', 'h', 441, 1471, 'I', 343, 1955, 'E', 'K', 7927, 'F', 'S', 'E']
Example Output: J, U, Q, F, 1723, 639, s, 4473, H, 3351, 7653, 2801, 5123, V, 9073, 8733, 7617, 1785, j, 7085, 895, m, 7831, 5757, 255

Example Input: ['i', 4077, 'Z', 6231, 2337, 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'd', 1355, 'n'], [505, 'A', 8789, 75, 'q', 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'e', 'r', 'I', 'm', 1525, 3577]
Example Output: h, 1181, 1631, 2605, 587, 1477, 2707, R, O

Example Input: ['I', 6673, 'i', 3545, 8135, 'p', 9917, '5873', 'v', 'H', 'k', 'w', 't', '3387', '9705', '1563', 'y', '3545', 'w', 'P', '7827', '1397', 'W', '2585', 'S', 'K', '4823', '3541', '7089', '243', 'a', 'M', 'D', 'D', 'S', 'Q', 'A', 3419], [6289, 5499, 4299, 9223, 1139, 't', 7953, 'b', 'u', 2987, 2109, '5873', 'v', 'H', 'k', 'w', 't', '3387', '9705', '1563', 'y', '3545', 'w', 'P', '7827', '1397', 'W', '2585', 'S', 'K', '4823', '3541', '7089', '243', 'a', 'A', 8363, 'u', 'w']
Example Output:
5873, v, H, k, w, t, 3387, 9705, 1563, y, 3545, w, P, 7827, 1397, W, 2585, S, K, 4823, 3541, 7089, 243, a