In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4981, 'f', 9493, 'Y', 5635, 'c', 'b', 9707, 'p', 'b', 'X', 'n', 'U', 'E', 5225, '4945', 'q', 'L', 'H', 'p', '7907', 'V', '3647', 'V', 'U', 'G', 'a', 'd', '9969', '3257', 'e', 'y', 'b', 'c', 'r', '2455', 'G', '9267', 'j', 'j', 3139, 'P'], [4273, 2931, 4065, 'S', 'A', 5571, 'y', 'D', 'I', 'I', 943, 9201, 'P', 3049, 'n', 'V', 'l', 2909, 'C', 'c', 4471, 3181, 'N', '4945', 'q', 'L', 'H', 'p', '7907', 'V', '3647', 'V', 'U', 'G', 'a', 'd', '9969', '3257', 'e', 'y', 'b', 'c', 'r', '2455', 'G', '9267', 'j', 'T', 'K', 'E', 'm', 9599, 5417, 6207, 'J', 'H', 't', 'n', 3601, 7661, 'W', 5397, 3781, 4829, 'S', 7143, 'D', 4697, 8179]