Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['z', 7145, 'v', '2185', 'w', '9983', 'Q', '9747', 'k', 'q', 'c', 'F'], ['T', 'N', 'v', '2185', 'w', '9983', 'Q', '9747', 'k', 'q', 'Z', 7569, 'L', 'Z', 'H', 'y', 9547, 5693]
Output:
v, 2185, w, 9983, Q, 9747, k, q