In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 9115, 6349, 3857, 8999, 'm', 'p', '9581', 'J', 'J', '3951', 'F', 'x', '3793', 'U', 'a', 5165, 'w', 9853, 's', 'Y'], ['t', 'l', 7927, 3483, '9581', 'J', 'J', '3951', 'F', 'x', '3793', 'A', 7459, 1853, 'a', 'd', 4561, 7617]