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

[Q]: [7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]
[A]: 7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K


[Q]: [7963, 1119, 5983, 1201, 'f', 7721, 'l', 6831, '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'i', 'X', 5925, 'R', 'm', 6883, 'S', 'J', 's', 'U', 'G', 7225, 7405], ['P', 3151, 'V', 347, 6187, 9261, 867, 'd', 3727, 4495, 'L', 'k', 1911, 'k', 'v', 'T', '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'A', 3797, 7567, 7617, 'E', 7683, 'd', 'K', 1795, 5667, 'y', 4005, 567, 8429]
[A]: 369, h, P, 9609, C, N, v, J, 8213, Q, 6733, S, 3587, F, 2917, 1601, w, z, b, 7237, 6995, 1907, S


[Q]: [6017, 'm', 1719, 'c', 7959, 7997, 'K', 'L', 5299, 7119, 5183, 'l', 9207, 'P', 3089, 'i', '1433', 'u', 'M', 'B', '7599', 'G', '2349', 'I', 'E', 'S', '1413', '685', '5517', 'B', '4021', 'R', '2955', 'S', 'P', 'f', 4361, 8351, 3703, 'i', 3047, 'c', 8509, 'x', 'O'], ['W', 4265, 'W', 'V', 8913, 3293, 'Z', 'Z', 5671, 'w', 9709, 'k', 'i', '1433', 'u', 'M', 'B', '7599', 'G', '2349', 'I', 'E', 'S', '1413', '685', '5517', 'B', '4021', 'R', '2955', 'S', 'Q', 6041, 'Z', 'C', 'N', 'Y', 7551, 9865, 'H', 'i', 'g', 'y']
[A]:
i, 1433, u, M, B, 7599, G, 2349, I, E, S, 1413, 685, 5517, B, 4021, R, 2955, S