A boy has just finished a swimming competition.