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

Example Input: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]
Example Output: z, f, o, L

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: ['z', 6581, 'a', 4421, 8229, 9897, 6891, 'F', 's', '8363', 'v', 'E', 'Y', '417', '5943', '4991', 'a', 'J', 'J', 2767, 8891], ['S', 'a', 8167, 'j', 'R', 's', '8363', 'v', 'E', 'Y', '417', '5943', '4991', 'k', 4325, 'z', 7013, 5917, 'Q']
Example Output:
s, 8363, v, E, Y, 417, 5943, 4991