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

[Q]: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
[A]: 5181, q, c, W, r


[Q]: [9741, 'E', 4251, 8197, 'V', 'd', 'U', 'S', 'l', 4297, 9217, 'O', 6607, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'R', 'u', 587, 'r', 'i', 3977, 's', 'V', 'v', 215, 399, 's', 7561, 25, 3885, 1501, 'W', 7853, 'l', 5145, 'z'], [5441, 169, 9471, 'r', 'i', 7087, 'v', 't', 6273, 'k', 1041, 'd', 'Q', 2227, 5617, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'Z', 'b', 3671, 'y', 9829, 7849, 9049, 'T', 8407, 'M', 'B', 'N', 7837, 2963, 7385, 'K', 8717, 'j', 3621, 75, 'E']
[A]: 2517, G, y, a, F, 1035, 823, E, J, a, 3609, 7379, x, Y, M, 1893, O, 4875, z, B, c, 7147, u, 9477


[Q]: ['w', 'b', 1897, 9941, 2081, 'o', 1131, 'A', 'n', 'j', 'l', 'f', 'K', '3647', 'a', '6939', 'h', '8097', 'l', 'S', 'Q', 'Z', 2837, 'u', 't', 961, 7907, 1803, 1305, 'E', 'l', 249, 4489], [8789, 'O', 5663, 'e', 'j', 'l', 'f', 'K', '3647', 'a', '6939', 'h', '8097', 'l', 'S', 'Q', 'D', 8867, 773]
[A]:
j, l, f, K, 3647, a, 6939, h, 8097, l, S, Q