In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 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'].
Q: [9923, 6951, 'D', 8297, 783, 'm', 'x', 'r', 7751, 279, 'h', 'P', 'O', 'T', '7941', 'x', 't', '4215', '9463', 'A', '9887', '1339', '1599', '8251', 'I', '5083', '509', '167', '4281', 'K', 'Q', 'b', 1503, 5783, 87, 'H', 3933, 'V', 's', 'O', 3823, 6723, 'm', 8761, 9059], ['h', 8915, 97, 'Y', 7743, 7425, 'g', 'v', 'P', 5937, 6853, 7467, 3977, 4475, 1411, 'H', 'T', '7941', 'x', 't', '4215', '9463', 'A', '9887', '1339', '1599', '8251', 'I', '5083', '509', '167', '4281', 'K', 'E', 4605, 1809, 'N', 'U', 3831, 9923, 'U', 6309, 'B', 7437, 'h', 5189]
A:
T, 7941, x, t, 4215, 9463, A, 9887, 1339, 1599, 8251, I, 5083, 509, 167, 4281, K