In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9417, 7799, 493, 'X', 'U', 'V', 7303, 'T', 8169, 6271, 7857, 'N', 'w', 'w', 2227, 9487, '7955', '8893', 'k', 'Q', '139', 'l', 'W', 'q', '313', 'o', 'Y', '2901', 'N', '6457', 'A', '2473', 'J', 'B', 'f', 933, 'Q', 1687, 'o', 'U', 1771, 375, 6439, 'J', 'Z'], [3833, 8089, 'e', 't', 'n', 9877, 'q', 2551, 3235, 9527, 1027, '7955', '8893', 'k', 'Q', '139', 'l', 'W', 'q', '313', 'o', 'Y', '2901', 'N', '6457', 'A', '2473', 'J', 'B', 'E', 'b']