In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7779, 'n', 9053, 'p', 5235, 'J', 3353, 'l', 'O', 'd', '4623', 'T', '3465', 'p', 'A', 'G', '3657', 'D', '5029', 'I', 'y', 'T', 'q', '6309', 'f', 'w', 'U', 733, 'k', 5609, 'Z', 'n', 'K', 9059, 4845, 'P', 'd'], ['V', 2405, 'd', 2391, 'm', 'Y', 'd', '4623', 'T', '3465', 'p', 'A', 'G', '3657', 'D', '5029', 'I', 'y', 'T', 'q', '6309', 'f', 'C', 'C', 7143, 4487, 8007, 'p']