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

[Q]: [1477, 'o', 1059, 'R', 't', 97, 7251, 1765, 'V', 1139, 'h', 7923, 'J', 'E', '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'Y', 9333, 'm', 'V', 'T', 3427, 3397, 507, 'Y', 'k', 907, 'b', 8791, 'A'], ['Y', 6653, 'v', 9685, 'D', 2111, 'd', 'y', 5885, 5653, 'i', 6307, 2051, 7807, '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'd', 9367, 'Y', 3109, 7395, 'R', 'L', 9041]
[A]: 6945, C, j, 4891, 4001, j, f, 8117, T, 2147, I, 3759, 5781, g


[Q]: ['F', 175, 'f', 8443, 3869, 'X', 8987, 's', 'x', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'E', 'T', 9337, 'B', 3133, 10013], [2067, 3211, 'U', 'S', 8949, 'N', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'Q', 1511, 'X', 1105, 3303, 'u', 8705, 'j']
[A]: r, 6805, 843, t, g, T, 8865, K, 9607, G, 4521, z


[Q]: [4993, 7625, 'F', 'b', 'W', '1197', '4493', '1431', '6015', '1027', 'd', 'P', '1897', 'n', '3251', '9655', 'Z', 309, 'u', 'R', 4555, 9407, 1923, 'S', 7953, 9593, 1609, 'D'], [7799, 's', 4905, 1053, 's', 9771, 7443, 'p', 9479, 'W', '1197', '4493', '1431', '6015', '1027', 'd', 'P', '1897', 'n', '3251', '9655', 'z', 6677, 'j', 6139, 5137, 7997, 8505, 'o', 'o', 4677, 'e']
[A]:
W, 1197, 4493, 1431, 6015, 1027, d, P, 1897, n, 3251, 9655