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

[Q]: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]
[A]: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R

[Q]: [4717, 'J', 'B', 'f', 'a', 9035, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'F', 5099], ['Q', 3557, 'y', 2689, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'k', 8835, 'C', 8979]
[A]: 3041, 491, 3395, 3117, 4793, 4305, c

[Q]: [5811, 5575, 'U', 'k', 'c', 'u', 'r', 'B', '3485', '3423', 'F', 'd', 'L', 'i', 'Y', '9189', 'T', 'f', 'Y', '133', 'S', 'r', 4311, 'M', 8175, 2687, 5699, 3631, 9797, 'y', 'F', 'C', 6961], [7713, 'X', 'p', 'D', 1009, 7361, 'W', '3485', '3423', 'F', 'd', 'L', 'i', 'Y', '9189', 'T', 'f', 'Y', '133', 'S', 'b', 'E', 4515, 'A', 'I', 8805, 'I', 985]
[A]:
3485, 3423, F, d, L, i, Y, 9189, T, f, Y, 133, S