Unreal Engine 5 Enhanced Input Duplicate Input Question!!

I wanted to create a back-and-forth movement of the character through improved input. So I created one input action (2D float), created one mapping context, and connected it as follows!

However, when you press the W key and press the S key, it moves forward rather than staying still. Conversely, if you press the W key while pressing the S key, it moves backward and then moves forward.

I want to make the character stop if the W key and S key are pressed in duplicate… Please give me a solution!