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: ['Q', 'n', 'd', 'T', 'J', 'T', 8781, 8277, 6611, 'v', 'B', 'b', '5131', 'w', 'L', '4339', 'h', 'a', '5743', '1621', '4655', 'l', '2085', '9541', '8227', '1009', '1005', 'Z', '5507', 'v', '183', '1261', '3257', 'C', '8213', '205', 'V', 'n', 5159, 6299, 'G', 4325, 9905, 3867, 'C', 3747, 'w', 'b', 3597, 'd'], [6837, 'k', 'e', 's', 'P', 6607, 'M', 'W', 6355, 'I', 1385, 891, '5131', 'w', 'L', '4339', 'h', 'a', '5743', '1621', '4655', 'l', '2085', '9541', '8227', '1009', '1005', 'Z', '5507', 'v', '183', '1261', '3257', 'C', '8213', '205', 'V', 'U', 3843, 5921, 'i', 'u', 'l', 'e', 9837, 6987, 3617, 'I', 2897, 3127, 'W', 9869, 'y', 'D']
Solution:
5131, w, L, 4339, h, a, 5743, 1621, 4655, l, 2085, 9541, 8227, 1009, 1005, Z, 5507, v, 183, 1261, 3257, C, 8213, 205, V