In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1845, 8665, 7115, 'G', 'D', 'k', '3173', '2041', 'D', 5927, 8873, 'K'], [7245, 'l', 'G', 'w', 'a', 'G', 'D', 'k', '3173', '2041', 'K', 7301]