In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4889, 10003, 'i', 'v', 'e', '2939', '9107', 'c', '8289', 'J', '1663', '6343', 'j', 6833, 'r', 5717, 'I', 'd'], [8815, 'Q', 10013, 'G', 'p', 'W', 'e', '2939', '9107', 'c', '8289', 'J', '1663', '6343', 'v', 'j', 4473]