In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9525, 'z', 7471, 2275, 'j', 159, 't', '2043', 'G', 'R', '9447', 't', 'P', 'h', '7997', 'i', 5, 'D', 'd', 2839, 1197, 'w'], [2279, 'j', 4433, 7351, 'Y', 5077, 9905, '2043', 'G', 'R', '9447', 't', 'P', 'h', '7997', 'z', 4565, 'j', 7859, 7517]