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

[Q]: ['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]
[A]: 4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R


[Q]: [787, 577, 1283, 10019, '3229', 'C', 'b', '8319', 'j', 7553, 8091], [4091, 1749, 'L', 'A', '3229', 'C', 'b', '8319', 'U', 9603]
[A]: 3229, C, b, 8319


[Q]: ['d', 'C', 'Y', 9951, 'h', 'K', 'D', 6499, 8455, 'O', 'J', 4619, 'K', 3971, 1571, 'N', 'z', '1423', 'E', '5449', '2157', '7641', '3281', 't', '1033', 'P', '4517', 'R', 'M', 'z', '6619', '1631', 'm', '1883', '1545', 'a', '5827', 's', '7347', '9953', 'm', 'J', 'e', '8589', 'S', 415, 'I', 9543, 'z', 1003, 'E', 2421, 'b', 'Z', 8207, 'E', 6027], [7187, 4715, 't', 'y', 1175, 991, 'T', 4067, 'l', 'q', 7051, 2807, 6001, 'e', 2841, 'e', 4875, 'j', 'N', 'z', '1423', 'E', '5449', '2157', '7641', '3281', 't', '1033', 'P', '4517', 'R', 'M', 'z', '6619', '1631', 'm', '1883', '1545', 'a', '5827', 's', '7347', '9953', 'm', 'J', 'e', '8589', 'h', 9651, 'm', 'B', 6799, 'y', 'A', 'q']
[A]:
N, z, 1423, E, 5449, 2157, 7641, 3281, t, 1033, P, 4517, R, M, z, 6619, 1631, m, 1883, 1545, a, 5827, s, 7347, 9953, m, J, e, 8589