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

[Q]: ['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]
[A]: 5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193


[Q]: [1363, 'O', 'u', '3885', 'y', '2105', '1495', '417', 'n', 9057, 2977], ['x', 'X', '3885', 'y', '2105', '1495', '417', 'X', 2883]
[A]: 3885, y, 2105, 1495, 417


[Q]: ['A', 7629, 'F', 5085, 8767, '9109', '7623', 'S', 'J', '2887', '2141', 'a', 3445, 9009, 't', 'i', 'B'], [4225, 5077, '9109', '7623', 'S', 'J', '2887', '2141', 'w', 5815]
[A]:
9109, 7623, S, J, 2887, 2141