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: [6453, 7881, 'D', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'Y', 2235, 823, 'q', 'S', 'R', 'K', 2809, 'o', 7605, 'L', 'V', 'D', 'R'], [1195, 'n', 5253, 7139, 4463, 10023, 'O', 'Y', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'L', 4321, 3545, 'G', 'G', 'h']

Output: X, 9799, Z, 1711, P, L, E, 5039, 1161, n, 6077, 685, F, C


Input: Consider Input: ['b', 6573, 'a', 9209, 6773, 9629, 7345, 6237, 't', 7055, 'U', '867', 'E', '183', 'S', '1143', '2935', 'I', '8253', 'p', '9117', 'O', 'X', 'v', 'i', '869', '7037', '4679', 'Z', 'g', '1267', 'v', 'z', 7367, 'U', 2183, 'e', 5309, 7083, 533, 'v', 'o', 7747], ['Y', 2507, 'Q', 8095, 1031, 'M', 1125, 8133, 'G', '867', 'E', '183', 'S', '1143', '2935', 'I', '8253', 'p', '9117', 'O', 'X', 'v', 'i', '869', '7037', '4679', 'Z', 'g', '1267', 'R', 409, 'q', 'u', 6023, 7185, 'G', 4225, 'J', 2033, 'n', 889, 4595, 7245]


Output: 867, E, 183, S, 1143, 2935, I, 8253, p, 9117, O, X, v, i, 869, 7037, 4679, Z, g, 1267