In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1961, 2477, 'k', 9375, 'U', 4673, 9559, '6259', 't', 'Y', '6995', 'X', '1081', '8655', 'D', '8685', 'd', '7469', 'j', 'W', 'G', 'l', '5713', '5351', '1221', 'C', '3859', 'T', 'D', 1985, 'U', 2961, 9525, 'n', 8891, 1925, 5347], ['Y', 'a', 383, 'o', 2977, 2017, 9051, 945, 7571, 5937, 'l', 9315, 'i', 'z', 159, 'i', '6259', 't', 'Y', '6995', 'X', '1081', '8655', 'D', '8685', 'd', '7469', 'j', 'W', 'G', 'l', '5713', '5351', '1221', 'C', '3859', 'f', 2187, 'J', 5977, 'V', 6119, 't']