In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
One example is below.
Q: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
A: 8297, b
Rationale: 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'].
Q: ['R', 'k', 8409, 9419, 't', 1065, 3735, 1581, 'n', 1491, 'L', 4363, 'O', 5595, 'M', 2239, 5699, 3219, 5151, 'x', 6627, 'C', 'C', 'b', '9555', '451', '231', 'S', 's', 'P', 'T', 'f', '9579', '2707', 'j', '8505', 'T', '1461', 'P', '2373', 'A', '7839', '2317', '1033', 'h', 'c', 7367, 'Z', 2703, 't', 6513, 't', 'n', 7391, 4553, 'G', 'H', 7575, 'M', 6249, 5143, 4169], ['M', 'W', 'N', 'p', 6853, 'B', 'o', 's', 'W', 1057, 'N', 2247, 'u', 'M', 'C', 'b', '9555', '451', '231', 'S', 's', 'P', 'T', 'f', '9579', '2707', 'j', '8505', 'T', '1461', 'P', '2373', 'A', '7839', '2317', '1033', 'h', 'h', 'c', 'R', 2459, 'A', 'b', 'R', 7081, 857, 3849]
A:
C, b, 9555, 451, 231, S, s, P, T, f, 9579, 2707, j, 8505, T, 1461, P, 2373, A, 7839, 2317, 1033, h