#include <ctime>
#include <iostream>
#include <iomanip>

using namespace std;

int main() {
	tm tmbuf;
	const char *str = "20:48:01.469 UTC MAR 31 2016";
	const char *fmt = "%H:%M:%s.%Y %Z %b %d %Y";
	strptime(str,fmt,&tmbuf);
	
	cout << put_time(&tmbuf, "%m-%d-%Y") << endl;
}