In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'N', 'P', 'l', 'W', 6493, 2945, 'S', 'S', 'F', 6613, 'u', 'm', 2695, 'a', '3111', 'Y', '7069', 'o', 'I', 'W', '8327', '6183', 'y', 'A', 'n', '9371', 'O', 'c', 'G', 'E', 'S', 'F', '2829', 's', 4395, 'E', 8887, 6685, 'C', 861, 'I', 's', 6227], [4359, 'j', 239, 6965, 'h', 41, 2605, 4141, 'u', 'L', 6199, 'J', 'E', 597, 'd', 5961, 9237, 's', 'a', '3111', 'Y', '7069', 'o', 'I', 'W', '8327', '6183', 'y', 'A', 'n', '9371', 'O', 'c', 'G', 'E', 'S', 'F', '2829', 'e', 's', 7739, 'm', 9751, 791, 4845, 'l', 'i', 'v', 7175, 'd', 7215, 'v', 'X']