In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 4345, 'j', '2681', '3049', 'N', '9547', 't', '9133', '3541', 'y', '3189', '7903', '8331', 'v', 'k', 'a', 2899, 567], ['S', 'm', 1719, 'w', 8877, 'W', 'k', '2681', '3049', 'N', '9547', 't', '9133', '3541', 'y', '3189', '7903', '8331', 'v', 'h', 3531, 'U', 'J', 'A', 'p', 4397, 4727, 'l']