# Skill: skill

## Purpose

Convert a list of full names into three columns:

* FirstName
* MiddleName
* LastName

## Instructions

When a user provides a list of names:

1. Split each name into its components.
2. Place the first word in the FirstName column.
3. Place the last word in the LastName column.
4. Place any remaining words between them in the MiddleName column.
5. Return the results as a table with the columns:

   * FirstName
   * MiddleName
   * LastName
6. If no middle name exists, leave the MiddleName field blank.
7. Preserve capitalisation exactly as provided.

## Example

Input:
John Michael Smith
Sarah Jones
David Alan Robert Brown

Output:

|FirstName|MiddleName|LastName|
|-|-|-|
|John|Michael|Smith|
|Sarah||Jones|
|David|Alan Robert|Brown|



