
A group of characters (String input) approaches you and pleads you to sort them into four teams (String[] team), as they are unable to do so in a proper order themselves.
Constraints:
They want it to be done in the order they came in (i.e., input.charAt(0) will always go into team[0], and inp...