In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5917, 5251, 'v', 'G', 3875, 'g', 'b', 'k', 's', 'k', 'p', 'a', '3907', 'u', '8165', '6579', '9539', 'w', '1923', 'p', '4171', 'z', '9679', '2583', 'L', 'r', '9083', 'b', '6189', 'I', 1999, 859, 'B', 'c', 1913, 2841, 'v', 6305, 'f', 'V', 4965, 9215], ['V', 9185, 5901, 'W', 1227, 'c', 'n', 3651, 'p', 'a', '3907', 'u', '8165', '6579', '9539', 'w', '1923', 'p', '4171', 'z', '9679', '2583', 'L', 'r', '9083', 'b', '6189', 'M', 7707, 'M', 'g', 'V', 'X', 5481, 2509, 6927, 4447, 'g', 3957, 1395, 2327, 'K', 8771]