In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 4935, 't', 'b', 'f', 'T', '6015', '787', 'W', 'P', 't', 'x', '4823', '5597', '4937', '3499', 'I', 'G', 'U', 'J', '5793', 'k', 'S', 8125, 'V', 'k', 5323, 'e', 'I', 'p', 'y'], ['G', 'J', 'O', 'g', 6317, 'c', 'O', 4347, 'M', 9791, 9735, 8339, 1163, 'L', 5915, 'T', '6015', '787', 'W', 'P', 't', 'x', '4823', '5597', '4937', '3499', 'I', 'G', 'U', 'J', '5793', 'k', 'C', 'N', 'B', 9041, 'o', 'K', 'V', 'n', 'i', 7739]