In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8875, 9199, 'N', 'M', 2239, 'S', 'a', 'M', 'c', 359, 'y', 'F', 'd', 5673, 'U', 9617, 1109, 'F', '3517', '233', '6687', '3821', 'w', 'a', '7797', '3137', 'v', 'X', 's', 'a', '1193', '2381', 'E', '3571', '2907', '5897', '2675', 'g', 'x', 'D', 4807, 6567, 3017, 7311, 'X', 's', 9949, 1795, 6779, 'Q'], [1755, 3205, 'q', 1187, 'T', 4039, 9253, 'x', 7989, 5781, 'F', '3517', '233', '6687', '3821', 'w', 'a', '7797', '3137', 'v', 'X', 's', 'a', '1193', '2381', 'E', '3571', '2907', '5897', '2675', 'V', 'R', 8521, 4535, 6957, 6279, 2065, 8099, 2669, 'n', 6617, 'v', 'b', 'N', 'b', 'p', 'R']