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

Input: Consider Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u


Input: Consider Input: ['m', 'o', 4741, 3597, 'T', 'v', 'I', 'r', 4973, 'r', 7779, 'm', 8535, 2829, 'I', 'j', 't', '2757', 'S', '1003', 'a', 'z', 'G', '5877', 'T', 'M', 'W', 'W', 'T', 'Y', '2567', '7207', 'C', 'l', 'J', '9711', '3935', 'R', '1079', '5527', '7247', '5631', 'm', 759, 7679, 3509, 'a', 9427, 1333, 7377, 2171, 'q', 6583, 4535, 'V'], [4879, 2805, 6027, 2543, 'm', 'I', 'j', 't', '2757', 'S', '1003', 'a', 'z', 'G', '5877', 'T', 'M', 'W', 'W', 'T', 'Y', '2567', '7207', 'C', 'l', 'J', '9711', '3935', 'R', '1079', '5527', '7247', '5631', 'h', 'D', 5899, 'P', 'c', 'R', 'v', 7011, 'l', 'A', 3025, 6415, 'W', 6475, 3123, 5269]

Output: I, j, t, 2757, S, 1003, a, z, G, 5877, T, M, W, W, T, Y, 2567, 7207, C, l, J, 9711, 3935, R, 1079, 5527, 7247, 5631


Input: Consider Input: ['k', 'I', 2485, 'F', 'o', '5411', 'j', '3289', '697', 'A', 'D', 'P', '513', 'X', '3111', 'W', 'z', 7319, 'a', 'C', 3035, 3649, 'f', 'I'], ['p', 3589, 3075, 'b', 5279, 'f', 'p', 'w', 'B', 6831, 'i', 'o', '5411', 'j', '3289', '697', 'A', 'D', 'P', '513', 'X', '3111', 'W', 'q', 7299, 4307, 'u', 'Z', 'P', 'D', 'x']


Output: o, 5411, j, 3289, 697, A, D, P, 513, X, 3111, W