In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1749, 'y', 'V', '233', 'V', '4595', '7047', 'S', 'p', 6827, 'g'], [8019, 3051, 'b', 'j', 'V', '233', 'V', '4595', '7047', 'S', 'G', 'i', 9441, 'd']