In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1541, 2847, 9621, 'D', 8413, 'h', '7623', 'K', 'i', '5411', '9329', 'S', 'r', '5825', '2597', '3003', 'V', '4817', 'G', '8783', '3433', '611', '4895', 'k', '7703', '5545', '7613', 'L', 'Q', 'T', 'Q', 'g'], [6919, 1673, 'c', 7789, 553, 'T', 'Y', 15, 9941, 'l', 8187, 'G', '7623', 'K', 'i', '5411', '9329', 'S', 'r', '5825', '2597', '3003', 'V', '4817', 'G', '8783', '3433', '611', '4895', 'k', '7703', '5545', '7613', 'L', 'H', 597, 'c']