In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8595, 'o', 7405, 1901, 'T', 9721, 'K', '4285', '6001', 'C', 'D', '923', '8211', '5179', 'R', 'y', '9415', '7765', '9447', 'd', '7305', 'v', 'h', '9887', '5573', 'a', 'Y', 8273, 7089, 2887, 'z', 'k', 3467, 4297, 2975, 4841, 7945, 'v', 5911, 'M', 'i', 'p', 'x', 'n', 'G'], ['B', 'M', 'j', 'K', 4413, 1921, 8133, 'w', 6165, 'K', '4285', '6001', 'C', 'D', '923', '8211', '5179', 'R', 'y', '9415', '7765', '9447', 'd', '7305', 'v', 'h', '9887', '5573', 'a', 'm', 4235, 'G', 5365, 'z', 6619, 3143, 'q', 'E', 'g', 1469, 5485]