In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[259, 'c', 'v', 'v', 7141, 'u', 'v', 'V', 1943, 'p', 'Y', 3159, 'V', 'U', '8517', 'R', 'b', 'E', 'W', '5639', '3055', 'M', '4365', 'J', 'O', 'G', '9365', '3653', 'D', 8515, 'C', 7365, 3157, 'n', 9813, 2183, 7383], ['G', 4087, 'U', 9731, 235, 'M', 'V', 9909, 'g', 'U', '8517', 'R', 'b', 'E', 'W', '5639', '3055', 'M', '4365', 'J', 'O', 'G', '9365', '3653', 'u', 1479, 'N', 3865, 9305, 4705, 6987, 'k', 8223, 5903, 8725, 7707, 'D', 'f']