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

[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]: [953, 'l', '1329', '527', '6257', 'v', '5461', 'F', 't', 3373, 'r'], ['v', 'P', '1329', '527', '6257', 'v', '5461', 'h', 5517, 'Z', 'y', 5061]
[A]: 1329, 527, 6257, v, 5461

[Q]: [9573, 8595, 'S', 'O', 'H', 5015, 29, 8797, 5483, 2505, 'S', 'e', 5167, 'x', 3477, '5901', '3715', '7701', '7895', 'N', '3059', '1935', 'R', '5321', '4189', 's', '9763', 's', 'I', 'D', 'w', 'i', '4075', '5461', '6019', 'r', 'A', 'L', 'f', 9861, 'm', 7873, 4461, 9441, 805, 1737, 'Q', 'R', 3795, 'j', 7343], ['x', 7057, 'Q', 9285, 'f', 'D', 'r', 6071, 's', 1859, 1175, '5901', '3715', '7701', '7895', 'N', '3059', '1935', 'R', '5321', '4189', 's', '9763', 's', 'I', 'D', 'w', 'i', '4075', '5461', '6019', 'r', 'A', 'L', 'C', 'b', 6159, 2775, 6103]
[A]:
5901, 3715, 7701, 7895, N, 3059, 1935, R, 5321, 4189, s, 9763, s, I, D, w, i, 4075, 5461, 6019, r, A, L