In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1049, 'k', 'x', 'U', 3683, 'H', 'L', '3383', 'u', '4561', 'M', '8363', '4915', '8203', 'v', 4295, 'L', 'y', 'v'], [1645, 5979, 'y', 1035, 6027, 'c', 'Z', 'L', '3383', 'u', '4561', 'M', '8363', '4915', '8203', 'F', 4231, 7905, 'z']