In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[3295, 'x', 'X', '5595', 'F', '1745', 'v', '7243', 'U', 'r', 7075], ['e', 1113, 'd', 'N', 5965, 'q', 6191, 'X', '5595', 'F', '1745', 'v', '7243', 'U', 'c', 'k', 9221]
X, 5595, F, 1745, v, 7243, U