In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 6985, 's', 'g', 'h', 161, 5059, 'v', 'N', 'J', 'v', '5477', 'Z', 'U', 'I', '3827', 'u', 'j', 'y', 'N', 'b', 2329, 6133], ['j', 's', 833, 'X', 'F', 6369, 3543, 'N', 'J', 'v', '5477', 'Z', 'U', 'I', '3827', 'u', 'a', 'K', 'y', 'x']