In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2701, 51, 'm', 'c', 4819, 'G', 6781, 'M', 'F', '6687', '6957', 'V', 'z', '7727', 'M', '2909', 'J', 'U', 'k', 'S', 'G', '3067', 'G', 'U', '9435', '3821', 'F', 'j', 'F', '8687', '4163', 'T', '9641', 'q', 2087, 'r', 6857, 9935, 6049, 'm', 3861, 4647, 'f', 'G', 7155, 'E', 1557, 'k', 'g', 5617, 'j', 'E', 'M', 621, 'A', 4303], ['l', 3883, 'G', 3369, 5331, 'E', 'F', 6959, 'Y', '6687', '6957', 'V', 'z', '7727', 'M', '2909', 'J', 'U', 'k', 'S', 'G', '3067', 'G', 'U', '9435', '3821', 'F', 'j', 'F', '8687', '4163', 'T', '9641', 'b', 'O', 'I', 'S', 4389, 'Q', 'H', 1]