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

Input: Consider 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']

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


Input: Consider Input: [2165, 'A', 'L', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'c', 4715, 'w', 3191, 'Q', 2951, 3303], [1387, 2063, 'm', 'k', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'o', 9521, 1539, 'e', 6687, 6805]

Output: 6045, 1245, Y, t, M, y, 1889, H, C, 8175


Input: Consider Input: ['E', 1917, 'm', 'H', 3013, 'Z', 't', 'R', 5701, '5581', 'H', 'x', '5595', 'a', '6931', 'n', 'g', '1779', 'j', '2101', 'U', 2757], [9369, 6893, 'N', 'd', 'q', 1155, 9233, 9305, 'z', '5581', 'H', 'x', '5595', 'a', '6931', 'n', 'g', '1779', 'j', '2101', 'f', 'P', 3649]


Output: 5581, H, x, 5595, a, 6931, n, g, 1779, j, 2101