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

Q: [4339, 'i', 7857, 315, 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'i', 7649, 'F', 'g', 6973], ['r', 5097, 5467, 't', 'N', 'Y', 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'l', 837, 643, 2055, 'J', 'I']

A: W, 3573, 689, y, 9557, J, b, 2185
****
Q: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']

A: 8157, 9625
****
Q: [4799, 'S', 'J', 6105, 3171, '4831', '2889', '7281', '1707', '5299', 'F', '3733', 'j', '5747', '5391', 'C', 'n', 5321, 'N', 'x', 9975, 'n', 'V', 'd', 1005], ['f', 769, '4831', '2889', '7281', '1707', '5299', 'F', '3733', 'j', '5747', '5391', 'D', 'M', 'A', 3693, 9035, 'k', 9599, 'd', 9795]

A:
4831, 2889, 7281, 1707, 5299, F, 3733, j, 5747, 5391
****