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

[Q]: [7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]
[A]: N, Z, q, A, w, r, N, 6611, r, 8975, b, T


[Q]: [4817, 'A', '3155', 'W', 'm', 4061], [7701, 'P', '3155', 'W', 't', 'J']
[A]: 3155, W


[Q]: ['z', 4935, 't', 'b', 'f', 'T', '6015', '787', 'W', 'P', 't', 'x', '4823', '5597', '4937', '3499', 'I', 'G', 'U', 'J', '5793', 'k', 'S', 8125, 'V', 'k', 5323, 'e', 'I', 'p', 'y'], ['G', 'J', 'O', 'g', 6317, 'c', 'O', 4347, 'M', 9791, 9735, 8339, 1163, 'L', 5915, 'T', '6015', '787', 'W', 'P', 't', 'x', '4823', '5597', '4937', '3499', 'I', 'G', 'U', 'J', '5793', 'k', 'C', 'N', 'B', 9041, 'o', 'K', 'V', 'n', 'i', 7739]
[A]:
T, 6015, 787, W, P, t, x, 4823, 5597, 4937, 3499, I, G, U, J, 5793, k