In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7905, 'f', 3365, 's', 9051, 'p', 'i', 1705, 9203, 'a', 'N', '3351', 'S', 'H', '7829', 'L', '8483', 'M', 'n', 'l', 'S', '6343', 'G', 'd', 3323, 'O', 'p', 925, 5077, 'J'], ['w', 2561, 2283, 'A', 'w', '3351', 'S', 'H', '7829', 'L', '8483', 'M', 'n', 'l', 'S', '6343', 'G', 'h', 7255, 'n', 'X', 8423, 'v', 2571, 'l', 'e']