It seems like null is passed to input in line 28. Any idea how to make it work?