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

[EX Q]: ['u', 'U', 'a', 'Z', 'b', 'Q', 'D', 5239, 6595, 1793, 'f', '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'm', 867, 585, 1765], [5201, 'W', 'a', 'k', 9031, 4815, '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'X', 2991, 3377, 2933, 5359, 6073, 8921, 789, 'W', 7037, 9953, 'N', 8007, 1755, 1959, 9619]
[EX A]: 7733, 5727, 3047, 4951, 8907, D, 5105, i, 1837, i, Y, b, 5769, p, 1767, Y, B, q, 4075, 917, c

[EX Q]: ['z', 883, 9795, 4785, 'R', 927, 6697, 'Y', 'a', 'V', 'r', 'x', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'a', 'o', 'O', 'o', 'o', 'k', 5419], ['L', 4127, 'J', 5701, 'u', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'g', 'e', 'G', 'U', 4361, 'z', 3019, 'l', 6969, 'z', 1821, 8135, 4831, 4315, 'F', 6801, 185]
[EX A]: D, 4987, p, O, w, g, U, 3989, 8321, 9091, 3263, 2091, 2505, 1055, 5617, 2913, 9717, 4691, e

[EX Q]: ['G', 'w', 3209, 'r', 'x', 't', 5645, 'd', 'E', '999', '6631', '8703', 'k', 'O', 'F', '9911', 'v', '4829', '5669', '7157', 'V', 'R', '6397', '6101', '7285', '5683', '8653', '5893', '3583', 'b', 'F'], [6305, 3997, 'c', 1297, 8359, 6565, 'I', 'B', 'm', 8521, 'E', '999', '6631', '8703', 'k', 'O', 'F', '9911', 'v', '4829', '5669', '7157', 'V', 'R', '6397', '6101', '7285', '5683', '8653', '5893', '3583', 'u', 6873, 'j', 'V', 63, 'O', 'C', 1971, 3039, 3625]
[EX A]:
E, 999, 6631, 8703, k, O, F, 9911, v, 4829, 5669, 7157, V, R, 6397, 6101, 7285, 5683, 8653, 5893, 3583