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

[Q]: ['B', 'f', 'Y', 'r', 4391, 'B', '6995', '7077', 'p', '3191', 'M', 1379, 5473], [3689, 'g', 5189, 'w', 4837, 'B', '6995', '7077', 'p', '3191', 'B', 9145]
[A]: B, 6995, 7077, p, 3191


[Q]: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']
[A]: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955


[Q]: [171, 'b', 'c', 'O', '8327', '3149', '3891', '671', 'R', '2383', '9031', '1033', '4105', 'n', 'R', 'U', '4177', '6813', '5129', '9507', 'p', 'e', 'q', 'z', 'z'], [6837, 'H', 'c', 'O', '8327', '3149', '3891', '671', 'R', '2383', '9031', '1033', '4105', 'n', 'R', 'U', '4177', '6813', '5129', '9507', 'p', 'e', 't', 'T', 4671, 5361, 'W', 2375, 8391, 405, 6893, 'p', 7035]
[A]:
c, O, 8327, 3149, 3891, 671, R, 2383, 9031, 1033, 4105, n, R, U, 4177, 6813, 5129, 9507, p, e