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

Example Input: [7247, 1163, 3573, 'Q', 'j', 'W', 'Z', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'M', 9599, 'n', 'V'], ['m', 5641, 4917, 'p', 'L', 4811, 'W', 9443, 2931, 6127, 't', 'H', 'O', 'V', 'S', 'A', 1447, 'Y', 'O', 6005, 9461, 'l', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'o', 'X', 'E', 'O', 7153, 'c', 'q', 'a', 3629, 'k']
Example Output: 9033, 57, W, 5259, Z, 3169, t, 5065, 8825, s, 4051, 8469, 401, U, 4069, E, V, 8889, S, D, t, 7323, c, 2987, J, D, 3061

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: [2415, 3515, 8385, '6671', '5231', 'h', 'C', '3443', 'd', '2045', 'U', 'B', '1755', '7609', 'a', '8835', 'x', 'U', 'G', '2763', 'k', 'q', '6375', 'g', 'N', 4291, 'V', 'U', 'D', 'n', 'b', 'h', 6171, 'L', 'y', 'B'], ['C', 215, 1591, 'y', 'B', 'O', 'e', 's', 'x', 'W', 8329, 'l', 2687, 'C', 845, 'U', 7069, 7891, '6671', '5231', 'h', 'C', '3443', 'd', '2045', 'U', 'B', '1755', '7609', 'a', '8835', 'x', 'U', 'G', '2763', 'k', 'q', '6375', 'a', 7649, 'b']
Example Output:
6671, 5231, h, C, 3443, d, 2045, U, B, 1755, 7609, a, 8835, x, U, G, 2763, k, q, 6375