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

[Q]: ['N', 7229, '4831', 'P', 'E', 7925], [3857, 'C', '4831', 'P', 'g', 'p']
[A]: 4831, P


[Q]: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']
[A]: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M


[Q]: ['p', 4303, 6113, 'Z', 'f', 2991, 'B', 'Y', 'A', 41, 789, 1065, 'U', 'j', '8335', '6009', '5477', 'R', 'm', 'y', 'L', 'i', '2803', '6887', '5715', '2065', 'T', '10005', 'f', '5707', 'R', '6817', 'l', 'u', 'b', 4713, 73, 'S', 'u', 6937, 7907], ['H', 6141, 1617, 'H', '8335', '6009', '5477', 'R', 'm', 'y', 'L', 'i', '2803', '6887', '5715', '2065', 'T', '10005', 'f', '5707', 'R', '6817', 'l', 'u', 'G', 'w']
[A]:
8335, 6009, 5477, R, m, y, L, i, 2803, 6887, 5715, 2065, T, 10005, f, 5707, R, 6817, l, u