import java.util.*;
import java.text.MessageFormat;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		
		String playerName = "João";
		String playerType = "MODERADOR";
		String gameType   = "pvp";
		int messages = 10;
		
		String output = MessageFormat.format("[{0}] {1} [{2}] > {3} mensagens.",
					   playerType, playerName, gameType, messages);
		
		System.out.println(output);
	}
}