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

Input: Consider Input: ['x', 'T', 'K', 'i', 935, 's', 209, 6485, 7803, 'Z', 'Q', 'H', 'u', '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'N', 'p', 9815, 'Q', 'u', 'U', 1559, 'Y', 'z', 'i', 3473, 's', 7251, 5303, 'k', 'u'], [9843, 'H', 3903, 6499, 'y', 'u', 'v', 'i', 'p', 8877, 27, 'Z', 6151, 5793, 'F', 'u', 'K', 'f', 'F', 8005, 'r', 4323, 2093, '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'O', 'u', 'J']

Output: 5629, 7573, 4679, 73, 6729, 1943, Y, b, 1595, R, 1475, 9785, 3773, 4077, 2189, r, d, 9613, L, S, 6619, 9039, 7557, 999, F


Input: Consider Input: [8555, 1665, 'm', 5361, 2523, 'L', 'T', 'P', 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 't', 'F', 8547, 1815, 1599, 4083, 'm', 9959, 'R', 'L'], [7829, 'N', 1893, 4933, 9825, 9043, 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 'C', 'p', 2443, 'Q', 'H', 155, 277, 7833, 8183]

Output: B, q, W, 2357, 6563, d, 8239, p, c, e, d, S, k, H, U, g, j, r


Input: Consider Input: ['E', 'd', 'E', 'A', 'x', 1591, 'R', 'n', 'z', '11', 'L', '6227', '6347', '3199', 'A', '1987', '2317', 'n', 'Q', 'C', '3081', 'R', '5353', '7899', 'g', '4475', 'k', '3919', '3577', '8689', '5247', 'd', '7585', 's', 'Y', 'q', 6189, 671, 'B', 'w', 'C', 4793, 'w', 4241], ['E', 'W', 'L', 8757, 'z', 'u', 'H', 'P', 6179, 6059, 'Q', 5515, 'M', 'i', 'O', 7535, 'W', 'N', 483, 2791, 2893, 'l', 'R', 7491, 8519, '11', 'L', '6227', '6347', '3199', 'A', '1987', '2317', 'n', 'Q', 'C', '3081', 'R', '5353', '7899', 'g', '4475', 'k', '3919', '3577', '8689', '5247', 'd', '7585', 's', 'Y', 'o', 7701, 'T']


Output: 11, L, 6227, 6347, 3199, A, 1987, 2317, n, Q, C, 3081, R, 5353, 7899, g, 4475, k, 3919, 3577, 8689, 5247, d, 7585, s, Y