Prints random messages every 3 messages received