Smart sword of the knight of the Middle Ages