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

[Q]: ['p', 9773, 'Y', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'S', 5087, 'M', 7601, 'D'], [7787, 'l', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'X', 'W', 3163, 'f', 5201]
[A]: o, w, s, 583, e, 2773, 9925, 8535, M, 9831, V, q


[Q]: ['R', 'r', 153, 'P', 1715, 757, 'K', 685, 1275, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'l', 8075, 'x', 3879, 'g', 1215, 2387, 'E', 9305, 'L', 't', 'B', 7409, 7623, 7913], ['A', 'P', 'm', 5825, 'S', 2069, 7235, 4509, 'K', 6535, 979, 'f', 9051, 2423, 'R', 'l', 'q', 9429, 'l', 803, 'j', 2081, 5321, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'z', 9157, 5891, 'g', 'z', 707, 4039, 293, 'S', 'B', 'b', 2399, 'l', 1277, 'F', 3399, 1459]
[A]: 9653, 3305, 853, s, f, y, v, d, E, 4893, 9515, O, 9527, R, C, 8621, P, O, s, 1455, 5259, 5561, 5147, G, e


[Q]: ['Q', 5895, 8161, 3765, 4143, 'H', 223, 4965, 'E', 9967, 2707, 7969, 2951, 4649, 'x', 'y', 'B', 'w', 'c', '9799', '3839', 'n', 'F', '2273', '1955', 'H', '3685', 'E', 'T', 'K', 3025, 'Q', 'Z', 'L', 'I'], [6049, 2181, 'z', 'n', 'T', 'C', 'Q', 7373, 6343, 1807, 'x', 'y', 'B', 'w', 'c', '9799', '3839', 'n', 'F', '2273', '1955', 'H', '3685', 'E', 'N', 5943, 7911, 3427, 'x', 3605, 'd']
[A]:
x, y, B, w, c, 9799, 3839, n, F, 2273, 1955, H, 3685, E