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

Ex Input:
[3645, 'a', 'r', 'H', 'F', 5289, 'Q', 'S', 'l', 'A', 'i', 'N', 4209, 'Y', 'v', 'l', 'f', 'B', 9611, 8025, 'x', 8141, 3323, 9387, 1457, 2157, 'v', '6997', '1987', '9305', 'c', '9391', 'W', 'q', 'H', 'O', '9283', '5671', '9549', 'M', '881', '6859', '3761', '7565', '2293', '1701', 'p', 'q', 'u', '8057', 'k', '1721', '4713', 'y', 'g', 'b', 5905, 'H', 'Y', 5059, 745, 'd', 1313, 'U', 7783, 'R', 'B'], ['q', 'N', 10023, 'V', 9257, 'y', 563, 'b', 8447, 2529, 'f', 4739, 9195, 'O', 1099, 4353, 'P', 821, 8169, 'S', 'r', 'b', 'v', '6997', '1987', '9305', 'c', '9391', 'W', 'q', 'H', 'O', '9283', '5671', '9549', 'M', '881', '6859', '3761', '7565', '2293', '1701', 'p', 'q', 'u', '8057', 'k', '1721', '4713', 'y', 'g', 'e', 4393, 'j', 'J', 'A', 'I', 'n', 181, 3731, 5323, 3189, 9859, 'Q', 'V', 'E', 2413, 733, 'p', 'U', 3339, 8789, 'd', 4205, 5453, 'I', 1359, 891, 4269]

Ex Output:
v, 6997, 1987, 9305, c, 9391, W, q, H, O, 9283, 5671, 9549, M, 881, 6859, 3761, 7565, 2293, 1701, p, q, u, 8057, k, 1721, 4713, y, g


Ex Input:
[5599, 'o', 'p', 'T', 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'D', 'e', 'O', 'O', 3319], ['J', 2811, 7263, 'C', 4889, 477, 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'F', 3717, 'X', 1407, 2097, 'J', 'N', 'W']

Ex Output:
o, p, B, M, 283, R, a, 9671, 8125


Ex Input:
['g', 'u', 6277, 'u', 7101, 797, 65, 5691, 'v', 1327, 'g', '9789', '8105', '8937', 'W', 'W', '4243', 'F', '6699', '8577', 'p', 'V', '1451', '8103', '5423', '5745', 'j', 'f', 't', '3361', '503', 'U', 'i', 'Q'], [4883, 5461, 'd', 'g', '9789', '8105', '8937', 'W', 'W', '4243', 'F', '6699', '8577', 'p', 'V', '1451', '8103', '5423', '5745', 'j', 'f', 't', '3361', '503', 'q', 'W', 'q']

Ex Output:

g, 9789, 8105, 8937, W, W, 4243, F, 6699, 8577, p, V, 1451, 8103, 5423, 5745, j, f, t, 3361, 503