In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8105, 'B', 4163, 31, 'y', 'i', 8189, 9313, 'z', 4919, '391', 'J', 'N', 'x', '6843', '701', '3343', '1933', '905', 'h', 'C', '2977', '4315', '9557', 'T', '6073', 'R', '7819', 'G', 'w', 9931, 817, 2161, 7053, 'e', 'e', 'F', 9761], [4345, 'd', 383, 1853, 'W', 9961, 6373, 'g', 7399, 'f', 'm', '391', 'J', 'N', 'x', '6843', '701', '3343', '1933', '905', 'h', 'C', '2977', '4315', '9557', 'T', '6073', 'R', '7819', 'v', 'o', 'C']