Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['S', 'H', 'Z', 'Y', 151, 4195, 'l', 4467, 'i', 'V', 3435, 'A', 5371, 7137, 'k', 'Y', 'Z', 'h', 'Y', '4105', 'W', '8767', '889', '3861', '8559', '8161', 'V', '2631', 'M', '6341', '5479', 'Z', 'V', 'K', 'H', 'n', '6197', '1273', '5489', 'p', '4323', 'F', 'P', 'W', 'q'], ['x', 5875, 3883, 7671, 'R', 'Z', 5801, 'c', 5297, 6647, 'h', 825, 'j', 3947, 3047, 1359, 5765, 'A', 'f', 'e', '4105', 'W', '8767', '889', '3861', '8559', '8161', 'V', '2631', 'M', '6341', '5479', 'Z', 'V', 'K', 'H', 'n', '6197', '1273', '5489', 'p', '4323', 'F', 'q', 3351, 6097, 'S', 'l', 'h', 'N', 'N', 'n', 4083, 'y', 'g', 'B', 1017, 9095, 3447, 2439, 9659, 309, 5961, 'h']
A:
4105, W, 8767, 889, 3861, 8559, 8161, V, 2631, M, 6341, 5479, Z, V, K, H, n, 6197, 1273, 5489, p, 4323, F