#!/usr/local/bin/perl -w
#
while( $line = <STDIN> )	{
	chomp($line);
	$line =~ s/^(.*w0)(.*).jpg$/\2: \1\2/;
	print $line,"\n";
}
