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: [5495, 'Y', 'g', 'n', 'T', 3343, 'w', 'V', 3997, 'a', 'I', 8975, 8505, 'J', 'A', 9267, 'b', 6463, 'B', 'i', 'A', 'J', 'G', 'u', 'N', 4107, '1803', '6495', '2833', 'd', '8137', 'A', '2535', '2629', '3415', 'm', 'v', 'Z', '1965', '3063', 'A', '9215', '4181', 'G', '5235', 'F', 'H', 'O', '4317', 'v', '8349', 'm', 's', '221', 'n', 2383, 4499, 'V', 3967, 'u', 95, 8911, 'y', 'O', 'p', 9369, 'u', 'X', 'k', 's', 'v', 3995, 'r', 'f', 'f', 6111, 'I', 'N', 1053, 'A', 'M'], ['Y', 'e', 2937, 'u', 'L', 3887, 8749, 133, 'G', 7969, 7303, 'V', 8311, 'q', 'Z', 'i', 'K', 9891, 'V', 3293, 'A', '1803', '6495', '2833', 'd', '8137', 'A', '2535', '2629', '3415', 'm', 'v', 'Z', '1965', '3063', 'A', '9215', '4181', 'G', '5235', 'F', 'H', 'O', '4317', 'v', '8349', 'm', 's', '221', 'H', 6931, 4135, 'R', 'E', 3807, 1443, 3789, 'F', 'W', 'Z', 7661, 'Y', 'b', 3341, 'C', 1483, 3759]
Solution:
1803, 6495, 2833, d, 8137, A, 2535, 2629, 3415, m, v, Z, 1965, 3063, A, 9215, 4181, G, 5235, F, H, O, 4317, v, 8349, m, s, 221