In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
One example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution is here: 8297, b
Explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Now, solve this: ['v', 'Q', 9595, 'j', 711, 'x', 'N', 9739, 'a', 6079, 'r', 1053, 7667, 771, 3425, 4335, 'a', '4851', '7763', '9303', 'R', 'j', 'p', 'x', '349', 'd', '7525', '3801', 't', '1831', '5033', 'S', 'k', '5789', 'E', 'l', 'R', '3079', 'V', 'm', 'z', '4421', '3567', 'L', 3893, 2555, 'A', 8097, 5013, 331, 'p', 4337, 'X', 'a', 7557, 2135, 1435, 7197, 'P', 5601, 4093, 'R', 'x', 'Y', 1313, 319, 'g', 6141, 3711], [5845, 5373, 'k', 8905, 'z', 2049, 'O', 9079, 'N', 'c', 5315, 'H', 3847, '4851', '7763', '9303', 'R', 'j', 'p', 'x', '349', 'd', '7525', '3801', 't', '1831', '5033', 'S', 'k', '5789', 'E', 'l', 'R', '3079', 'V', 'm', 'z', '4421', '3567', 'V', 679, 'a', 'd', 'c', 7825, 2375, 9127, 'e', 8989, 'X', 'P', 'M', 'E', 't', 'a', 231, 'M', 'r', 'd', 'j', 1259, 8253, 3077, 'O']
Solution:
4851, 7763, 9303, R, j, p, x, 349, d, 7525, 3801, t, 1831, 5033, S, k, 5789, E, l, R, 3079, V, m, z, 4421, 3567