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]: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']
[A]: 8157, 9625


[Q]: ['U', 'j', 'S', 5981, 'b', 5053, 'W', 'd', 'L', '6175', '8953', '1779', 'R', '4427', '6563', '8559', 'd', 'i'], [8675, 4569, 9149, 'K', 'C', 3331, 9177, 8551, 'd', 'L', '6175', '8953', '1779', 'R', '4427', '6563', '8559', 'K', 'W', 4845, 'Z']
[A]:
d, L, 6175, 8953, 1779, R, 4427, 6563, 8559