In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 9647, 'S', 'O', 'o', 3787, '8953', 'N', '6831', 'w', 'u', '439', 'J', 'p', '3549', 'M', 3895, 'G', 955, 8725, 473, 9831], ['H', 2963, 2917, 'j', 2779, 1049, '8953', 'N', '6831', 'w', 'u', '439', 'J', 'p', '3549', 'X', 'f', 'U', 8507, 'U', 1159, 'D', 3215, 7515]