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

Ex Input:
[431, 4017, 'R', 'a', 'F', '9581', 'Y', 'f', 'z', 'b', 1235], [4115, 'u', 'g', 'f', 2455, 'a', 'F', '9581', 'Y', 'f', 'z', 'm', 7245, 'I', 7021]

Ex Output:
a, F, 9581, Y, f, z


Ex Input:
[8523, 2741, 'B', 2283, 2319, 5579, 4895, 1093, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'G', 2491], [17, 6185, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'n', 4549, 'g', 1859, 'f', 'B', 4639, 6413]

Ex Output:
6081, w, j, U, 8951, g, 3325, 6587, 4979, X, x, 8257


Ex Input:
[6967, 6343, 8793, 7629, 6835, 'A', 'S', 'a', 'l', 'x', 's', 2113, 'E', 'Y', 'X', 'G', 'V', 6183, 6163, 3111, 8235, 'W', 's', 'r', 'E', 'c', 'j', 'V', 'Q', 'X', '6931', '3865', '7211', 'f', '6897', 'M', 'A', '6705', '9899', '689', 'a', 'd', '957', '9529', '1641', '6715', '2439', 'k', '1147', 'M', 'p', 'a', 'a', 'T', 'P', 'H', 6737, 7953, 6155, 'B', 8649, 'Z', 'i', 'O', 1005, 'G', 'm', 'x', 8045, 437, 'm', 'c', 7949, 9637, 'P'], ['Z', 3493, 4041, 'o', 's', 'q', 'n', 'r', 'r', 'L', 6503, 'g', 3493, 'P', 3521, 9237, 5797, 2401, 'Z', 2735, 4183, 'S', 'l', 5431, 9785, 'v', 4729, 'E', 'c', 'j', 'V', 'Q', 'X', '6931', '3865', '7211', 'f', '6897', 'M', 'A', '6705', '9899', '689', 'a', 'd', '957', '9529', '1641', '6715', '2439', 'k', '1147', 'M', 'p', 'i', 489, 'r', 'W', 'K', 'Y', 'O', 385, 8567, 'h', 3251, 'n', 'o', 'L', 'E', 'G']

Ex Output:

E, c, j, V, Q, X, 6931, 3865, 7211, f, 6897, M, A, 6705, 9899, 689, a, d, 957, 9529, 1641, 6715, 2439, k, 1147, M, p