A programmable magnetic input, based on the magnetic interaction of a soft and hard magnetic layer is presented for the first time. Therefore, a single-domain Co/Pt nanomagnet is placed on top of one end of a permalloy bar, separated by a thin dielectric layer. The permalloy bar of the introduced input structure is magnetized by weak easy-axis in-plane fields. Acting like a ’magnetic amplifier’, the generated fringing fields of the permalloy pole are strong enough to control the magnetization of the superimposed Co/Pt nanomagnets, which have high crystalline perpendicular magnetic anisotropy. This magnetostatic interaction results in a shift of the hysteresis curve of the Co/Pt nanomagnet, measured by magneto-optical Kerr micros...