In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7365, 't', 'p', '3239', 'g', '5757', 'n', 'y', 'F', 'q', 'i', '3905', '2707', '7401', 'H', 'F', 'T', 8027, 5841, 'r', 'i'], [6727, 9041, 'Y', 'A', 'r', 'y', 'w', 'v', '3239', 'g', '5757', 'n', 'y', 'F', 'q', 'i', '3905', '2707', '7401', 'G', 9649, 'U', 9987, 'a', 3163, 'Z', 'H', 7889]