In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8855, 6907, 's', 9109, 'e', 'U', 'J', 'd', 'B', 'n', '653', '2185', 'w', 'n', 9277, 3021, 2619, 'S'], ['w', 'H', 'S', 2507, 'e', 'U', 'J', 'd', 'B', 'n', '653', '2185', 'w', 'e', 'h', 'H', 'c']