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

[Q]: ['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]
[A]: h, z, 6979, W, W, 7681, s, 8827


[Q]: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']
[A]: 3743, 7709, 4991, 1023, z


[Q]: ['R', 2387, 'U', 'C', '7395', '4657', 'F', 'm'], [2895, 8861, 'n', 9201, 'U', 'C', '7395', '4657', 'x', 'w']
[A]:
U, C, 7395, 4657