A bigger cube is painted yellow on each of its faces. Now the cube is cut into 2744 identical pieces with the minimum number of cuts. How many of the smaller cubes will have exactly two faces painted?