In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6047, 'v', 'z', 'U', 'P', 4733, 'u', 2391, 'L', 8819, 'P', 'N', '8421', 'T', 'H', '8759', 'g', '1801', 'd', 'l', 'g', 5859, 'B', 455, 4541], ['T', 'u', 9075, 8191, 1223, 4469, 'A', 'd', 'P', 'N', '8421', 'T', 'H', '8759', 'g', '1801', 'd', 'l', 'r', 3905, 5553, 9047, 'I', 4253, 'G', 'p', 't', 'H']