/*--------------------------------------------------
created by st10 at Tue Oct 25 13:48:31 PDT 2016
--------------------------------------------------*/
#include <cstdlib>
#include <iostream>
#include <string>
#include <cmath>
using namespace std;


/*--------------------------------------------------
 signature: rest : string -> string 
 purpose: expects a NON-EMPTY string and returns the string
    of everything EXCEPT the calling string's first character

 examples: rest("moo") == "oo"
           rest("c") == ""
           rest("How are you today?") == "ow are you today?"
--------------------------------------------------*/

string rest(string a_string)
{
    return a_string.substr(1);
}