In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6317, 7341, 'D', 'U', 'h', 'w', 1301, 453, 'w', 'Q', 'o', 'j', 'Y', 'k', 'v', 'Y', 'v', 'k', 'G', 'q', 'f', 'h', 'a', 't', '6107', 'C', '4071', '9101', '4051', 'E', 'V', 'd', 'J', 'K', 5173, 'W', 'b', 799, 8409], [8965, 4941, 301, 'k', 5305, 'E', 837, 3005, 1437, 7567, 641, 671, 1419, 'n', 7989, 'P', 773, 7247, 5861, 'y', 'w', 'Q', 'o', 'j', 'Y', 'k', 'v', 'Y', 'v', 'k', 'G', 'q', 'f', 'h', 'a', 't', '6107', 'C', '4071', '9101', '4051', 'k', 1845, 9083, 'w', 'g', 6057, 2381, 'J', 'g', 713, 1023, 'D', 'j', 'N', 7163, 'c', 9707, 2775, 6431]