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

Ex Input:
[6951, 5063, 'D', '2121', '2709', 'L', '5457', '8809', '8771', 'S', '2283', 'Z', 'b', '3395', 'N', '9971', 'x', 'D', 'T', '2101', 'W', 'b', '6315', 'G', 'm', '8761', 'y', '1683', '9393', 'r', '6139', '6405', 'z', 's', 5325, 'W', 4603, 'A'], ['H', 2041, 8481, 'B', 'G', 'S', 509, 117, 3045, 803, 3957, 9469, 4397, 'T', 3193, 9619, 'u', 'y', 'q', 'p', 'r', 8683, 'p', 'L', 5181, 3747, 's', 3145, 6079, 'D', '2121', '2709', 'L', '5457', '8809', '8771', 'S', '2283', 'Z', 'b', '3395', 'N', '9971', 'x', 'D', 'T', '2101', 'W', 'b', '6315', 'G', 'm', '8761', 'y', '1683', '9393', 'r', '6139', '6405', 'Q', 'd', 'q', 6139, 'I', 3349, 7979, 8847, 'J', 7575, 2601, 4181, 765, 'G', 'E', 'F', 'z', 4129]

Ex Output:
D, 2121, 2709, L, 5457, 8809, 8771, S, 2283, Z, b, 3395, N, 9971, x, D, T, 2101, W, b, 6315, G, m, 8761, y, 1683, 9393, r, 6139, 6405


Ex Input:
['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]

Ex Output:
4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R


Ex Input:
[8049, 'K', 8821, 5321, 25, 7041, 7223, 'B', 8441, 'Z', 'D', 'l', 5983, 'w', 8999, 'K', 1027, 7217, 'D', 'B', 'A', '7877', '7193', '4887', 'x', '6657', 'u', '1179', '1849', 'x', '5371', 'O', '9083', '9551', '8685', '8255', 'L', 'N', 'c', '47', '7577', 'a', 'S', '7621', '5313', 'l', 7729, 'N', 'C', 811], ['I', 5119, 't', 'o', 8407, 'o', 'H', 'B', '7877', '7193', '4887', 'x', '6657', 'u', '1179', '1849', 'x', '5371', 'O', '9083', '9551', '8685', '8255', 'L', 'N', 'c', '47', '7577', 'a', 'S', '7621', '5313', 's', 't', 'p', 'W', 4601, 'N', 961, 'x']

Ex Output:

7877, 7193, 4887, x, 6657, u, 1179, 1849, x, 5371, O, 9083, 9551, 8685, 8255, L, N, c, 47, 7577, a, S, 7621, 5313