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

Ex Input:
['t', 7533, 7349, 'a', 2529, 'O', 2575, 6661, 6673, 'E', '9183', '7823', 'a', '9601', '3167', '7973', 't', 'B', 'T', 'k', 'z', 'J', 'M', 'Z', 'd', 'S', 181, 'G', 'C', 2881, 'a'], ['g', 3651, 3051, 7741, 'r', 5683, 'J', 'A', 's', 'D', 'y', 'R', '9183', '7823', 'a', '9601', '3167', '7973', 't', 'B', 'T', 'k', 'z', 'J', 'M', 'e', 'x', 'A', 1469, 'v', 5763, 'f', 'g']

Ex Output:
9183, 7823, a, 9601, 3167, 7973, t, B, T, k, z, J, M


Ex Input:
[7395, 'b', 'k', 4085, 2295, 'W', 'e', 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'f', 4941, 6655, 8343, 2509, 6487, 'b', 'E', 'f', 'n', 'v', 'j', 7091, 9231, 9129, 7785, 9709, 2645, 3179, 'U', 631, 7891], [7807, 8461, 'n', 'C', 9827, 1359, 'O', 3781, 'k', 'n', 'F', 'l', 'x', 'O', 4867, 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'H', 'B', 'f', 'X', 2529, 2153, 'u', 'z', 747, 5899, 1307, 'l', 'Q', 'x', 3787, 'b', 1187, 'h', 9519, 3483, 'q']

Ex Output:
d, 1583, 9993, x, 2291, 1847, R, a, n, r, G, 7947, 6081, H, K, t, 6537, q, V, 3423, 9531, 4907, 123, 4757, J, S, Q, D


Ex Input:
[1299, 'A', 'H', '8689', 'D', '5623', '7343', 'G', 129], [2215, 7801, 'Q', 'Q', 'U', 'H', '8689', 'D', '5623', '7343', 'W', 8175, 'Q', 'x']

Ex Output:

H, 8689, D, 5623, 7343