In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9335, 8721, 8021, 'f', 'C', '1231', '1499', 'F', 'd', 'H', '6011', '5831', 'Y', '1193', 'H', 'r', 'Z', 5775, 'r', 3061, 4203, 'L', 'r', 'f', 'A', 'V', 6157], [659, 3775, 7723, 'E', 'i', 'I', 'f', 'C', '1231', '1499', 'F', 'd', 'H', '6011', '5831', 'Y', '1193', 'H', 'G', 6357]