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

[Q]: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
[A]: N, P, 9231, j, H, 5851


[Q]: [4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']
[A]: A, 5181, i, X, h, J


[Q]: [6177, 3755, 6437, 2751, 'k', 609, 7671, 5077, 4429, 423, 5901, 4877, 'c', '877', 'g', 'N', '6695', '6439', 'Y', '313', 'v', '3657', 'Q', 'h', 'E', 'j', 2519, 'N', 8809, 'M', 's', 1549], ['E', 8197, 'G', 9003, 'v', 6167, 'y', 'c', '877', 'g', 'N', '6695', '6439', 'Y', '313', 'v', '3657', 'Q', 'h', 'E', 'l', 'a', 9063, 'b', 'h', 'F', 7235, 3873, 't', 'y', 9435, 1767, 9497]
[A]:
c, 877, g, N, 6695, 6439, Y, 313, v, 3657, Q, h, E