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: ['Z', 'q', 'u', 'i', '3123', '5331', 'E', 'z', '7501', '7901', '4271', '3299', '1987', 'F', 'F', 'I', 'E', '9425', '441', '3895', 'D', '9927', '3793', 'v', 'I', '563', '6547', '7151', 'z', 'O', 3301, 9765, 4673, 3929, 5667, 7187, 6725, 7367, 8529, 'a', 'T', 'C', 5779, 'A', 155, 105, 9595, 1291, 'z', 'B', 'h', 8489], [2591, 'A', 'J', 7797, 'R', 893, 'O', 999, 'i', '3123', '5331', 'E', 'z', '7501', '7901', '4271', '3299', '1987', 'F', 'F', 'I', 'E', '9425', '441', '3895', 'D', '9927', '3793', 'v', 'I', '563', '6547', '7151', 'z', 'C', 'T', 5029, 2573, 'V', 'P', 8479, 6759, 2597, 'J', 9649, 'N', 'V', 5303, 7737, 'Q', 'K', 'p', 'Y', 'R', 'x', 'p']
Solution:
i, 3123, 5331, E, z, 7501, 7901, 4271, 3299, 1987, F, F, I, E, 9425, 441, 3895, D, 9927, 3793, v, I, 563, 6547, 7151, z