Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['V', 'h', 'A', 'y', 'k', 'v', 5605, '4297', '1579', 'K', 'i', 'A', '7257', '4769', '2631', '5259', 'G', 7291, 7617, 'f', 5565, 8261, 'Z'], [23, 'm', 'P', 6323, 'N', 'Y', 'z', '4297', '1579', 'K', 'i', 'A', '7257', '4769', '2631', '5259', 'k', 'h', 'l', 3195, 'w', 'X']
A:
4297, 1579, K, i, A, 7257, 4769, 2631, 5259