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

Ex Input:
[2087, 'D', 815, 'a', 6837, 'U', 1683, 9549, 'Q', 4313, 2991, 8685, 'Q', 1253, 'O', 9367, 4835, 5191, 'L', 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'i', 'a', 'S', 7967, 'N', 'r'], [8841, 'y', 'F', 1845, 'X', 's', 8663, 'B', 'h', 5885, 'p', 5555, 3051, 2359, 'q', 'm', 2675, 53, 'U', 7017, 8161, 4755, 'B', 5367, 8577, 'H', 4223, 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'Z', 'R', 'X', 'j', 'T', 'N', 'V', 2931, 'X', 'g', 'P', 2979, 'o', 'B', 8283, 'r', 'D', 1051, 'E']

Ex Output:
e, 9385, 2631, 5849, 2469, S, Y, 967, 2589, 9057, 9315, 9591, 5801, B, 5991, g, 7317, 4923, L, B, N, 8863, v, q, 2887, f, 9939, d


Ex Input:
[2227, 8603, '9943', 'E', '4351', 't', 'l', 'x'], [5983, 'q', '9943', 'E', '4351', 'V', 4367]

Ex Output:
9943, E, 4351


Ex Input:
[5657, 'u', 3373, 6965, 'v', 'H', 'A', 'D', 'W', 'S', '7301', '8603', '3303', '2907', 'S', 'M', 't', 'Q', 'e', 'J', 'q', 'V', 'X', 'D', '7265', '9537', '7197', 'F', 2827, 'u', 7901, 'u', 6409, 5157, 'K', 9157, 8215], ['a', 9483, 8685, 2791, 'c', 1561, 'n', 'D', 'W', 'S', '7301', '8603', '3303', '2907', 'S', 'M', 't', 'Q', 'e', 'J', 'q', 'V', 'X', 'D', '7265', '9537', '7197', 'c', 1597, 'Y', 1897, 2971, 'p', 'q', 1357, 6241, 'C', 'f', 't']

Ex Output:

D, W, S, 7301, 8603, 3303, 2907, S, M, t, Q, e, J, q, V, X, D, 7265, 9537, 7197