Task: Translation
Input (English): English sentence: While at Berlin Cantor became much involved with the Mathematical Society being president of the Society during 1864-65.
Output (Tagalog): Habang sa Berlin kantor ay naging marami kasangkot sa matematika Society pagiging presidente ng Kapisanan sa panahon ng 1864-65.