Soliton Technologies Interview Question

Use array to separate two words from input