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

[EX 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]
[EX A]: B, 6995, 7077, p, 3191

[EX Q]: [9273, 'C', 'u', 6963, 'W', 7827, 3953, 'p', 6281, 7421, 'j', 'Y', 'P', 253, 5393, 'k', 9437, 'f', 6067, 'l', 6167, 'j', 'o', 'y', 'R', '5165', 'K', '6947', '2583', '3721', 'u', 'b', 'e', 'G', 'B', '3777', '623', '8995', '7339', 'b', '8633', '6783', 'l', 'q', '9637', '2791', '6545', 'W', 'G', 'a', 'v', 'h', 3895, 'C', 719, 1945, 'S'], ['G', 4797, 'z', 9055, 'c', 't', 7175, 1231, 'I', 'X', 1415, 'n', 7801, 'K', 7581, 'X', 3735, 'a', 'R', '5165', 'K', '6947', '2583', '3721', 'u', 'b', 'e', 'G', 'B', '3777', '623', '8995', '7339', 'b', '8633', '6783', 'l', 'q', '9637', '2791', '6545', 'W', 'G', 'a', 'C', 'E', 'p', 'e', 'O', 'O', 9127, 'c', 6151, 5929, 'v', 'Z', 6375, 'F', 6255, 6803, 'Y', 'Z', 6865, 5889, 1719, 305, 5127, 'g', 'x', 8743]
[EX A]: R, 5165, K, 6947, 2583, 3721, u, b, e, G, B, 3777, 623, 8995, 7339, b, 8633, 6783, l, q, 9637, 2791, 6545, W, G, a

[EX Q]: ['j', 'i', 'V', 'b', 'g', 'W', 'I', '4233', '4545', 'z', 'i', 'a', '6701', 'K', '2363', 'T', 1971, 6139, 'T', 8535, 'l', 6087, 513, 1663, 'q', 'o'], ['n', 7991, 2921, 5103, 1583, 1311, 'H', 3077, 'g', 'W', 'I', '4233', '4545', 'z', 'i', 'a', '6701', 'K', '2363', 'I', 'd', 'X', 'I', 'r', 'C', 'X', 1661, 873]
[EX A]:
g, W, I, 4233, 4545, z, i, a, 6701, K, 2363