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:
['p', 'Z', 'Z', 5929, 7441, 'g', 7897, 'p', 4341, 'F', 'c', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'F', 2669, 3809, 645, 6921, 'R', 9767, 'h', 'J', 7893, 'h'], [937, 'a', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'Z', 'q', 'u', 6333, 5793, 'a', 783, 'K', 'R']

Ex Output:
i, 1227, p, 6197, M, 3549, G, 11, 7667, T, 7819, T, 8965, 4725, R, Q, 4873, 4701


Ex Input:
[8789, 3005, 'b', 4103, 745, 'i', 8695, 3019, '6861', 'c', '1379', '6609', '7859', 'N', 'D', '1783', '1561', 'U', '2167', '591', 'K', 'n', 'l', 'D', '9499', '4587', 'F', 'm', 'j', 'z', 5823, 5241], ['L', 'e', 3975, 'j', 3753, 4517, 'H', 'Q', 7463, 'q', '6861', 'c', '1379', '6609', '7859', 'N', 'D', '1783', '1561', 'U', '2167', '591', 'K', 'n', 'l', 'D', '9499', '4587', 'F', 'K', 'Y', 'E', 8103, 'o', 'j', 3985]

Ex Output:

6861, c, 1379, 6609, 7859, N, D, 1783, 1561, U, 2167, 591, K, n, l, D, 9499, 4587, F