In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6495, 'X', '871', '7961', 'H', 'f', 'u', 'T', 'a', 2469], ['z', 7569, '871', '7961', 'H', 'f', 'w', 8891, 2225, 6699]