You must put the return statement at the end.
For more information about the return statement,
see Return Statement.
Inside some functions, there can be Mappings.
These may be in any place inside the function.

In addition to any other data type mentioned above,
the function can also return void.