In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1635, 8653, '3787', 'W', '4099', '7297', 'V', 'P', '1587', '8373', 'A', 'k', 'A', 789, 4583, 'a', 2069, 7751, 1427], [8395, 9899, '3787', 'W', '4099', '7297', 'V', 'P', '1587', '8373', 'A', 'S', 'R', 'Q', 'c', 9043, 6153, 'l', 5503]