George swam for 17 minutes 42 seconds. He later swam for 18 minutes 30 seconds. For how long did he swim altogether?