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

[Q]: [5599, 'o', 'p', 'T', 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'D', 'e', 'O', 'O', 3319], ['J', 2811, 7263, 'C', 4889, 477, 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'F', 3717, 'X', 1407, 2097, 'J', 'N', 'W']
[A]: o, p, B, M, 283, R, a, 9671, 8125


[Q]: [3007, 9911, 'b', 2015, 'P', 'D', 'S', 91, 'G', 'Q', 'g', 'r', 'M', 'I', 'S', 3911, 'Q', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'Y', 2705, 't', 9889], ['l', 3713, 10005, 9299, 'i', 'V', 'v', 6969, 1775, 6541, 6827, 'S', 1677, 1181, 'C', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'p', 557]
[A]: i, d, 6005, B, g, 1179, 5719, L, E, b, c, a, E, n, R, 8111, A, 3377


[Q]: [1303, 10011, 3585, 1001, 'r', 'x', 'V', 9073, 'p', 4111, 5781, 'f', 7391, 'F', 6747, 2677, 'P', 'Y', 'o', 9117, 'i', 'C', '3191', 'O', '1651', '6717', 'r', 'O', 'P', '761', '6363', '9491', 'G', '1267', 'C', 'Z', 'N', 'Q', 'I', 'j', 'y', '7509', 'm', '6493', 'v', '6821', 'T', 'Q', 'u', 7461, 5969, 'G', 423, 9489, 'S', 9785, 3671, 5193, 6599, 5565], [3285, 'h', 'g', 6755, 6095, 'w', 'K', 'j', 'F', 3001, 7919, 3805, 2205, 1777, 7281, 'i', 1107, 8041, 8263, 'j', 8811, 'i', 'C', '3191', 'O', '1651', '6717', 'r', 'O', 'P', '761', '6363', '9491', 'G', '1267', 'C', 'Z', 'N', 'Q', 'I', 'j', 'y', '7509', 'm', '6493', 'v', '6821', 'W', 'e', 3515, 'h', 3367, 'j', 3339, 7329, 9965, 6741, 'X', 2939, 'x']
[A]:
i, C, 3191, O, 1651, 6717, r, O, P, 761, 6363, 9491, G, 1267, C, Z, N, Q, I, j, y, 7509, m, 6493, v, 6821