In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7937, 'W', 6131, 'B', 8781, 'i', '3839', '9737', 'W', 'y', '8151', 'm', '6747', 'q', 'y', 'l', 1295, 'K', 'N'], ['H', 3095, 'n', '3839', '9737', 'W', 'y', '8151', 'm', '6747', 'q', 'y', 'g', 1545]