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]: [3615, 1385, 4267, 'z', 'F', 7195, 'U', 2665, '1263', 'O', '3761', '2545', 'K', 'E', 't', '5511', '6241', 'Q', '9683', '7135', '5469', '5269', '3021', '9499', 'C', 'C', 'y', 'm', 1901, 3491, 'i', 's', 2085, 'H', 'z', 5585, 8785, 6783, 'r'], ['g', 'E', 'Z', 1405, 7081, 'z', 363, 'p', 4559, 'C', 'F', 'B', '1263', 'O', '3761', '2545', 'K', 'E', 't', '5511', '6241', 'Q', '9683', '7135', '5469', '5269', '3021', '9499', 'C', 'C', 'n', 8931, 1253, 7959, 'w', 6185, 'm', 'o', 7699, 9577, 'u', 2061, 'i', 'm', 1689, 'j', 'i']
[A]: 1263, O, 3761, 2545, K, E, t, 5511, 6241, Q, 9683, 7135, 5469, 5269, 3021, 9499, C, C


[Q]: ['r', 1357, 'K', 'Y', 'G', 'o', '9699', '4635', 'E', 'U', 'M', 'S', 'S'], [4589, 4217, 8377, 'G', 'o', '9699', '4635', 'E', 'U', 'a', 't', 6989, 7039, 'Y', 'K']
[A]:
G, o, 9699, 4635, E, U