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

Input: Consider Input: ['L', 'q', 'C', 'c', 6507, 'x', 'C', 8247, 2327, 'q', 9785, 'U', 1653, 5189, 1035, 5417, 7385, 3065, 8415, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'k', 'F', 9173, 'a'], [3971, 6169, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'H', 'y', 'G', 'a', 'W', 'v', 6451, 4577, 'f', 8945, 'N', 'd', 4649, 'E', 5397, 8145, 'y', 1997, 7353, 'c', 3473, 'k', 'Z', 8131]

Output: 765, D, Z, 2235, f, 6389, e, 4773, m, 6621, 1741, 3119, 9893, d, s, 6143, 3079, 4281, T, 261, H, 7583, L, 8421


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: [8563, 9225, 5273, 'S', '1135', '3653', 'e', 'p'], [3897, 3281, 2941, 'S', '1135', '3653', 2721, 'Y', 'R']


Output: S, 1135, 3653