In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8969, 'N', 9259, 'k', 6227, 4971, 'N', 3023, 'a', 3779, 'd', 'm', '9953', 'e', '9461', '5783', '2377', '3093', '8807', 'K', 'T', 'm', 'j', '5429', 'n', 'p', 'Q'], ['C', 'N', '9953', 'e', '9461', '5783', '2377', '3093', '8807', 'K', 'T', 'm', 'j', '5429', 'q', 2619, 'U', 5741]