In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6505, 'G', 'B', 'P', 'V', 'k', '8865', '9553', '3769', '1709', 'I', 'F', '9135', 'p', 'g', 3537, 'Y', 5281], ['C', 5623, 't', 8109, 'C', 'W', 'B', 'P', 'V', 'k', '8865', '9553', '3769', '1709', 'I', 'F', '9135', 'p', 'v', 7193, 'B', 2937, 'y', 'z', 751, 'S']