In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[173, 'F', 77, 5101, 'q', 2897, 'Z', 231, 1895, 825, 'G', 5949, 6105, 'a', '5883', 'x', '801', '9201', 'r', 'd', 'L', '91', '6609', 'o', '2703', '997', '963', 'n', 'j', 'o', '4893', '1663', 'A', '5111', '467', '229', '4607', 'q', 'l', 'g', 'M', 6661, 4605, 8015, 'r', 2129, 'M', 3811, 1407, 145, 'v'], ['P', 7703, 'e', 'b', 'l', 9851, 6913, 4087, 4627, 9835, 19, 1305, 'O', 'P', 1139, 6089, 9143, 'W', 9853, 'x', 3215, 'w', 'a', '5883', 'x', '801', '9201', 'r', 'd', 'L', '91', '6609', 'o', '2703', '997', '963', 'n', 'j', 'o', '4893', '1663', 'A', '5111', '467', '229', '4607', 'q', 'r', 3927, 9607, 4893, 4563, 8113, 4073, 1153, 8609, 'X', 't', 4023, 'Q', 3131, 'z', 3789, 349, 'J', 9845]