In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3787, 3251, 7239, 3021, 'V', 499, 373, 3625, 2489, 5289, 1077, 'V', 'A', 'b', '8985', '6251', 'w', 'L', 'P', 'C', '4407', 'R', '3905', '9651', '1413', '5987', 'J', '7373', 'y', 't', '2339', 'S', 2451, 'U', 8551, 'A', 107, 2451, 'f', 9883, 'x', 6205, 217, 4833, 'i'], [8775, 1127, 'O', 4299, 3557, 'o', 'C', 8189, 8357, '8985', '6251', 'w', 'L', 'P', 'C', '4407', 'R', '3905', '9651', '1413', '5987', 'J', '7373', 'y', 't', '2339', 'a', 'b', 'G']