In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7945, 5917, 'k', 'O', 'Y', '2371', 'w', '8889', 'a', '9073', '2485', '7237', 'L', 'X', 505, 'T'], ['h', 461, 'y', 1961, 't', 7621, 't', 7359, '2371', 'w', '8889', 'a', '9073', '2485', '7237', 'L', 'W', 'K', 'j', 'S']