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

Example Input: ['E', 'V', 5783, 'G', 8167, 7189, 'I', 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'X', 1807, 7157, 'S', 6831, 'T', 805, 'H', 2489, 'S', 'F', 7167, 'Q', 2907, 6863, 'k', 6843, 2527], ['R', 'y', 'k', 8823, 337, 1587, 'S', 'm', 5803, 'Q', 7073, 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'S', 'O', 2883, 'o', 7283, 9175, 'G', 1287, 'u', 4403]
Example Output: A, 5987, d, u, 5069, v, i, 7725, 6567, 9085, 347, 4353, A, 5711, L, S, S, Z, 8949

Example Input: [6551, 'm', 4517, 'K', 9519, 'N', 6797, 'A', 'a', 5043, 2961, 1305, 'J', 'M', 'g', 5639, 6235, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'P', 'd', 9867, 6599, 'W', 'N', 4217, 'c', 5009], ['t', 9641, 7799, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'U', 'f', 8123, 'U', 3339, 4751]
Example Output: 9717, 6917, 7949, e, 2855, V, 4493, G, 375, e, 9909, J, t, N, 4535, 9963, 8917, W

Example Input: ['m', 'v', 'A', 'O', 'I', '959', '589', 'I', 'Y', '5811', 'W', '1515', '3433', 'n', '5495', 'r', 'B', '1299', 'o', 'R', '4541', '5373', '3423', 'v', 'Y', 'B', 't', 'Q', 8105, 'F', 'w', 'H'], [1389, 'F', 'O', 'I', '959', '589', 'I', 'Y', '5811', 'W', '1515', '3433', 'n', '5495', 'r', 'B', '1299', 'o', 'R', '4541', '5373', '3423', 'v', 'Y', 'B', 't', 'e', 'V', 4241, 2119, 1875, 5605, 'f', 5135, 3245, 'n', 'W', 9585, 5835, 'D', 681, 'N', 'J', 1281, 'l', 1111, 'M', 1687, 7965]
Example Output:
O, I, 959, 589, I, Y, 5811, W, 1515, 3433, n, 5495, r, B, 1299, o, R, 4541, 5373, 3423, v, Y, B, t