Xiao Ming originally had 30 books. After he gave Xiao Ying 4 books, they both had the same number of books. How many books does Xiaoying have?
小明原有30本书，他给小英4本书后，两人的本书同样多．小英原有几本书？
<gadget id="calculator">30 - 4 - 4</gadget>
<output>22</output>

<result>22</result>