In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5399, 4119, 5953, '9107', 'v', '2941', '7177', '5877', '325', 'y', '6623', '4857', 'x', '9565', '6801', 'm', '6039', '5943', 'm', '3923', '7391', 'H', 1981, 'F', 'h', 9767, 8763, 'X', 2925, 'C', 'K', 'H', 'A', 'h'], ['T', 'k', 'v', 7693, 'w', 7235, 'w', 'B', 'B', '9107', 'v', '2941', '7177', '5877', '325', 'y', '6623', '4857', 'x', '9565', '6801', 'm', '6039', '5943', 'm', '3923', '7391', 'N', 'k', 'h', 'q', 'A', 'X', 'v', 1299, 'U', 2947, 'k']