In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'u', 6277, 'u', 7101, 797, 65, 5691, 'v', 1327, 'g', '9789', '8105', '8937', 'W', 'W', '4243', 'F', '6699', '8577', 'p', 'V', '1451', '8103', '5423', '5745', 'j', 'f', 't', '3361', '503', 'U', 'i', 'Q'], [4883, 5461, 'd', 'g', '9789', '8105', '8937', 'W', 'W', '4243', 'F', '6699', '8577', 'p', 'V', '1451', '8103', '5423', '5745', 'j', 'f', 't', '3361', '503', 'q', 'W', 'q']