In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 'W', 61, 'K', 1277, 'J', 'm', 9761, 'A', '9513', 'U', '7083', 'u', '1575', 'h', '8393', '9425', 'W', '4361', '8091', '985', 'x', 'u'], [9863, 7693, 9117, 'V', 6213, 'D', 'G', 9997, 'c', 'm', '9513', 'U', '7083', 'u', '1575', 'h', '8393', '9425', 'W', '4361', '8091', '985', 'W', 5831, 8893, 1019, 5375]