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

Example Input: [8521, 7389, 'Z', 959, 4009, 4683, 'y', '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'i', 'D', 2717, 'P', 3531, 8889], ['Y', 4689, 'H', 'h', 3485, 1659, '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'm', 'k', 3777, 'l', 4497, 5837, 7061]
Example Output: 4295, 5675, a, 5585, q, 5785, 9081, U, s

Example Input: ['P', 'E', 'w', 4729, 8995, 'z', 3939, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'v', 1077, 153, 8063, 'h', 'k'], ['A', 2845, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'h', 9115, 'v', 275, 'C', 7405, 4211, 'X', 'O', 'e', 'n', 2507, 875, 'o', 6189, 'g', 'k', 3781, 1027, 807, 'g', 7213]
Example Output: 9711, 4699, c, 351, 7279, A, 719, j, 9659, 8455, 6859, E, 903, 1827, M, 3035, N, 2573, 4995, U, 8289, k, b, U, 1961

Example Input: ['Q', 'f', 7471, 'm', 'o', 1121, 't', 1143, 'h', 'b', 'o', 10027, 'v', '2553', 'F', '8257', 'K', '6385', '4145', 'h', 'X', 'L', 'M', '6433', '1657', 'I', '6699', '5663', 'I', 't', '9017', 'j', 'm', 'W', 'S', '8917', '733', 't', 'n', '607', 'Z', 'D', 'r', 'O', 'V', 7833, 7593, 8197], ['g', 'o', 'g', 'm', 'g', 6891, 'O', 8433, 5735, 3473, 'l', 9289, 1593, 3095, 8793, 6967, 3925, 7673, 'w', 9023, 't', 'P', 'R', 1601, 2707, 'v', '2553', 'F', '8257', 'K', '6385', '4145', 'h', 'X', 'L', 'M', '6433', '1657', 'I', '6699', '5663', 'I', 't', '9017', 'j', 'm', 'W', 'S', '8917', '733', 't', 'n', '607', 'Z', 'D', 5825, 'Z', 4489, 2873, 'S', 'r', 3391, 'u', 'p', 'G', 'G', 'H', 387, 'u', 1229, 'V', 8361, 'C', 7821, 175]
Example Output:
v, 2553, F, 8257, K, 6385, 4145, h, X, L, M, 6433, 1657, I, 6699, 5663, I, t, 9017, j, m, W, S, 8917, 733, t, n, 607, Z, D