In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5743, 3619, 'S', 'O', 'g', 'r', 'i', '5733', '9041', 'n', '8085', '1435', '7803', 'F', 'q', '775', 'Q', '8751', '101', 'd', '4497', '753', 'D', '9935', 'V', 1613, 'h', 695, 'G', 'I', 3989, 6909, 8005, 4923, 9941, 'T', 6911, 'v'], ['z', 5529, 'G', 'z', 't', 'p', 'g', 9397, 1805, 8017, 8481, 2893, 'C', 'u', 'l', 'g', 'r', 'i', '5733', '9041', 'n', '8085', '1435', '7803', 'F', 'q', '775', 'Q', '8751', '101', 'd', '4497', '753', 'D', '9935', 'E', 5161, 'f']