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

Example Input: [395, 'n', 'w', 2771, 'E', 'b', 't', 3169, 1467, 'U', 3777, 'E', 'v', 7179, 6343, 7867, 1145, 6015, 'z', 'b', 'n', 681, 6517, 'c', 'z', 2275, 3123, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'I', 'W', 5819, 'E', 8891, 'v', 'x', 1871, 'd', 1279, 7007], ['b', 'K', 4685, 9075, 3699, 3283, 3619, 4061, 't', 1445, 'Y', 'a', 'p', 'm', 5807, 7723, 'X', 'R', 'u', 'j', 6005, 6139, 4653, 283, 4471, 'Z', 'n', 5021, 1519, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'n', 7877, 4097, 'o', 'N', 7407, 'T', 'O', 6965, 8331, 'i', 5451, 'N', 'p', 'r', 7669, 8539, 'h', 'U', 8731, 4935]
Example Output: Q, q, m, A, 3931, 6189, Y, 5423, 2865, y, 9783, R, 7107, i, 1257, C, 6923, F, E, 2937, c, Y, j, 5731, P, L, M, 65, s

Example Input: ['X', 9737, 6673, 165, 5345, 'F', 'I', 'X', 2467, 'X', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'd', 'n', 'E'], [9725, 'G', 121, 'U', 2663, 'I', 'J', 2523, 'S', 'n', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'O', 2705, 5041, 8019, 'P']
Example Output: I, b, Q, z, v, 3523, 4717, a, A, Q, 5235, 1399, s, 5195, 1327

Example Input: [3905, 5041, 'D', 4891, 2991, 'J', 't', 'k', 7497, 'H', '3237', '8489', 'H', '9851', '5433', '7679', '3595', 'X', 'k', '3093', 'm', 'Z', 9115, 'u', 'B', 'M', 'P', 6261, 8787, 9407, 4847, 'I', 3787], ['u', 'm', 1231, 9321, 'H', '3237', '8489', 'H', '9851', '5433', '7679', '3595', 'X', 'k', '3093', 'm', 'V', 8765, 2265, 'J', 'U', 189]
Example Output:
H, 3237, 8489, H, 9851, 5433, 7679, 3595, X, k, 3093, m