It seems obvious, but it is not. This answer is elegant and deceptively simple: you only need to feed the chicken to get the egg.