In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'A', 157, 'W', '6247', '1051', 'u', '2269', '5797', 'M', 'Z', 'S', '5943', 't', '2825', 'A', '7263', 'M', 'z', 3081, 9423, 7497, 1043, 2245, 9791, 'Z', 2185, 'P', 'y'], [9797, 8043, 'Q', 'f', 'l', 4481, 5173, 7257, 'Y', 7265, 'F', 8731, 4715, 7893, 'W', '6247', '1051', 'u', '2269', '5797', 'M', 'Z', 'S', '5943', 't', '2825', 'A', '7263', 'e', 'w', 'h', 'f', 'q', 'E']