In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8167, 2013, 'z', 'L', 'l', 5927, 'O', 'Y', 1855, 't', 'j', 389, 3515, 'O', 5505, '8567', '2279', '4819', 'I', '9297', 'S', 'J', '3835', 'D', '5879', '3307', 'p', 'g', '5399', 'p', 'd', 'g', 'q'], [4203, 8365, 'h', 'x', 1107, 'o', 'V', 5187, 8643, 7925, '8567', '2279', '4819', 'I', '9297', 'S', 'J', '3835', 'D', '5879', '3307', 'p', 'g', '5399', 'p', 'd', 'k', 4977, 8789, 8917, 'I', 'R', 'y', 819, 8975, 'F', 'm', 'u', 2817, 'X']