Task: Text to Code
Input (English): Find the SSN and name of scientists who are assigned to the project with the longest hours.
Output (English): SELECT T3.ssn ,  T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.hours  =  (SELECT max(hours) FROM projects)