In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2647, 3781, 4053, 'n', 'Z', '1333', 'd', '3451', '5323', 'Q', 'n', 'L', '6197', '2907', '8803', 'V', '5317', '3853', 'f', 'G', '5287', 'c', '1267', '3651', '2169', '4107', '2593', '4347', 'V', 'X', 3805, 'b', 1881, 7183, 'P', 'R', 6927, 2629, 'Q', 4481, 'M', 'G', 1169, 'f', 1897, 'K', 'q'], [9253, 'i', 4553, 407, 4721, 8603, 'g', 'T', 151, 'h', 'U', 'l', 'D', 'z', 749, 1895, 'D', 'l', 6761, 6647, 'g', 3469, 'n', 'Z', '1333', 'd', '3451', '5323', 'Q', 'n', 'L', '6197', '2907', '8803', 'V', '5317', '3853', 'f', 'G', '5287', 'c', '1267', '3651', '2169', '4107', '2593', '4347', 'V', 'j', 7643]