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

[Q]: [5413, 'T', 'i', 'Q', 'Y', 'H', '2143', 'M', 'p', 'M', 'l'], ['Y', 'p', 'Y', 'H', '2143', 'M', 'A', 5017, 4553]
[A]: Y, H, 2143, M


[Q]: [2471, 'o', 'j', 'J', 7539, 8949, 2023, 'b', 'w', 9935, 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'Q', 'Y', 2199], [2019, 'Y', 2557, 2337, 'p', 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'g', 7743, 'L', 'A', 5137, 3587, 'V', 1399]
[A]: i, A, 843, E, Q, M, 3185, h, u, K, D, 5655, 2057, 1169


[Q]: ['G', 5429, 'G', 'h', 'i', 4385, 'l', 'w', '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 'l', 6255, 9841, 7339], [5463, 'Y', 1105, 'Z', 6887, 'G', 9653, 'v', 6241, 1865, '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 't', 7945, 'T', 'l', 6697, 'k', 'J', 57]
[A]:
4889, j, i, P, 1977, 9281, N, s, y, 3049, E, w