inhertance

1st way to write it