In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[431, 4017, 'R', 'a', 'F', '9581', 'Y', 'f', 'z', 'b', 1235], [4115, 'u', 'g', 'f', 2455, 'a', 'F', '9581', 'Y', 'f', 'z', 'm', 7245, 'I', 7021]