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

Ex Input:
[3323, 'G', 'k', 9183, 't', 9885, 3767, 'D', 'u', 'C', 'O', '9231', 's', 'd', '3497', '6063', 'Z', 'S', '2799', 'u', '2777', '8507', 'G', 'j', 'z', 'B', 'F', 't', '5527', '8931', 'r', '10029', '7305', 'H', 't', 7899, 'F'], ['h', 'E', 4401, 'C', 1267, 1175, 2939, 'g', 'n', 'm', 'u', 'C', 'O', '9231', 's', 'd', '3497', '6063', 'Z', 'S', '2799', 'u', '2777', '8507', 'G', 'j', 'z', 'B', 'F', 't', '5527', '8931', 'r', '10029', '7305', 'H', 'q', 4957, 6929, 6135, 'M', 1875, 4101, 'L', 9477, 'Q', 'Z', 1039, 'A', 4355, 'l', 'w', 's', 4485, 'L', 6895, 753, 'm', 1205, 'V', 821, 8801]

Ex Output:
u, C, O, 9231, s, d, 3497, 6063, Z, S, 2799, u, 2777, 8507, G, j, z, B, F, t, 5527, 8931, r, 10029, 7305, H


Ex Input:
[2433, 'X', 8485, 1927, 2127, 8173, 7755, 4795, 4389, 1533, 'F', 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'z', 'S', 'P', 75, 7819, 'j', 'm', 6861, 'R', 3931, 167, 9437, 'q', 5607, 'S', 5939, 'D', 'p', 'w', 689, 4265], [1169, 'I', 'E', 'Q', 9433, 99, 'S', 2367, 7367, 8127, 'I', 3203, 'f', 'n', 4635, 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'E', 'J']

Ex Output:
J, m, 815, i, 8555, 2391, M, c, c, h, 2677, 4129, y, 3999, n, Z, W, 9019, 5685, g, e, D, 3315


Ex Input:
['s', 'h', 'd', 5945, 4101, 4813, 7099, 4135, 8665, 2751, 'D', 'i', 1781, 'd', 2571, 949, 'P', 'w', 5583, 1919, '4929', '8717', 'n', '5687', 'L', 'w', 'G', '1525', 'p', 'M', 'X', '2511', 'v', '8981', 'E', '6537', '4433', 'H', 'e', '8889', '8893', 'c', '19', '5533', 'B', 'F', 6921, 'Z', 'w', 'G', 8053, 'P', 2911, 'n', 9389, 8707, 9335, 7165, 3019, 'Y'], ['g', 8003, 4575, 4085, 'c', 9137, 'U', 'g', 's', 5999, 9297, 347, 'X', 'x', 9007, 2679, 'n', 'z', 3475, 3131, 'D', 7039, 3321, '4929', '8717', 'n', '5687', 'L', 'w', 'G', '1525', 'p', 'M', 'X', '2511', 'v', '8981', 'E', '6537', '4433', 'H', 'e', '8889', '8893', 'c', '19', '5533', 'g', 85, 'l', 6485, 4341, 'j', 'H', 4187, 2221, 1619, 'o']

Ex Output:

4929, 8717, n, 5687, L, w, G, 1525, p, M, X, 2511, v, 8981, E, 6537, 4433, H, e, 8889, 8893, c, 19, 5533