In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 'v', 't', 1293, '9605', '8025', '9573', '7303', '7561', 'm', '4139', 'Z', 'M', '5233', '2583', 'a', 'p', 'c', 8019, 5147, 'r', 3775, 9149, 'T', 8201, 'm'], ['u', 8039, 3187, 2185, 'h', 'N', 'J', 2987, 7265, 'o', 1569, 6655, 'I', '9605', '8025', '9573', '7303', '7561', 'm', '4139', 'Z', 'M', '5233', '2583', 'a', 'p', 'Y', 5211, 5281, 2803, 3507]