The invention relates to a method of manufacturing an electromagnetic assembly in the form of a magnet pole or of a stator packet of a long stator linear motor for a magnetic levitation train. The magnetic ring is removable and is easily attachable to and detachable from the wire. The denomination of the bills is counted and determined utilizing a detector positioned along a transport path between the input receptacle and the output receptacles. Once the medical device is in its desired position, the magnet can be withdrawn through the lumen of the catheter.