In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[29, 8079, 1001, 2975, '2913', 'n', 'U', 's', 'F', 'x', 'i', '8431', '2923', 'r', 9747, 7611, 401, 's', 'J', 'X', 'j'], ['f', 9539, 'm', 'p', 'L', 'q', 'K', 'P', '2913', 'n', 'U', 's', 'F', 'x', 'i', '8431', '2923', 'R', 'w', 'A', 'h', 2083, 'n', 6835, 6301, 'R']