In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9579, 8979, 5003, 'q', 'c', 'n', '4719', 'o', 'G', '6859', 'g', '4679', '305', '3561', '2953', 't', '1899', 'o', '1089', '4909', '5957', 'J', '6143', '7331', '8083', '1947', 'w', 8501, 9879], ['L', 1031, 3873, 8255, 5875, 3831, 'y', 'd', 1835, 7679, 4075, 1723, 8187, 4943, '4719', 'o', 'G', '6859', 'g', '4679', '305', '3561', '2953', 't', '1899', 'o', '1089', '4909', '5957', 'J', '6143', '7331', '8083', '1947', 'M', 2395, 8369, 9583]