#include <iostream> #include <string> #include <vector> using namespace std; int main(int argc, const char * argv[]) { string path; vector<string> v; string tmp; vector<string> res; while(cin>>path){ re...