In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 'D', 'J', 'k', 9311, 5447, 'q', 'U', 'Z', '5353', 'k', '2315', '4871', 'l', 'Y', 'j', 'c', '3329', 'G', '2397', 'T', '5003', '187', 'Y', 3599, 'n', 6601, 'u', 6709, 'd'], ['S', 2991, 'E', 'H', 1409, 'C', 8099, 1417, 4089, '5353', 'k', '2315', '4871', 'l', 'Y', 'j', 'c', '3329', 'G', '2397', 'T', '5003', '187', 'A', 5013, 8829, 'R', 'y', 2131, 'I', 'o', 4117, 'V', 2375, 'k', 2435]