The perimeter of the triangle \(ABC\) is 10. Let \(D,E,F\) be the midpoint of the segments \(AB,BC,AC\) respectively. What is the perimeter of the triangle \(DEF\)?