In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example solution: 8297, b
Example 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'].

Problem: ['Z', 'C', 'N', 3161, 6379, 'B', 'c', 'a', 'R', 'F', 'Q', 'v', 'n', 'o', 'I', 't', '3593', '2159', '1247', 'K', 'J', 'Q', 'a', 'I', 'J', 'P', 'U', 7149], ['E', 5391, 2655, 5027, 'd', 7111, 't', 't', 589, 'F', 1123, 'B', 'c', 'a', 'R', 'F', 'Q', 'v', 'n', 'o', 'I', 't', '3593', '2159', '1247', 'K', 'J', 'h', 3075]

Solution: B, c, a, R, F, Q, v, n, o, I, t, 3593, 2159, 1247, K, J