In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['V', 'n', 'k', 'O', 3061, 'Y', 'Z', '9077', 'm', 'p', 'E', 'C', '7979', 'g', '601', 'c', '3285', 'G', '8549', '9453', 'p', 'S', '6463', '9443', 'R', 2891, 'V', 'A', 7923, 'g', 'i'], ['f', 'F', 5583, 9399, 'Y', 'Z', '9077', 'm', 'p', 'E', 'C', '7979', 'g', '601', 'c', '3285', 'G', '8549', '9453', 'p', 'S', '6463', '9443', 'J', 6051, 7011, 4077, 'h', 'y', 'O', 'N', 2159, 769, 3349, 9509, 'u', 7417, 'J']