In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[511, 'V', 'k', 'w', 'a', 'Z', 'U', 'E', 335, 1605, 'R', 'u', 'w', 9169, 2627, 'p', 'q', 6101, 1051, 'k', 'W', '4615', '359', 'w', 'A', '1093', 'i', 'G', '9057', '801', 'w', '6447', '3709', '4753', 'E', 'G', 'q', '2163', 'B', '1941', '4827', '7539', '579', 'g', '5819', 'p', '3879', 'd', 'l', 'X', 'E', 613, 5587, 8197, 'e', 'w', 3115, 6887, 'A', 7849, 9171, 'Z', 'I', 931, 'X', 'D', 619, 2163, 'i', 4091], [6303, 'i', '4615', '359', 'w', 'A', '1093', 'i', 'G', '9057', '801', 'w', '6447', '3709', '4753', 'E', 'G', 'q', '2163', 'B', '1941', '4827', '7539', '579', 'g', '5819', 'p', '3879', 'd', 'K', 3473, 9329, 'P', 'x', 9279, 'h', 5191, 1637, 'z', 'o', 'c', 'U']