Multiline input

hacker block problems involve taking integer value from multiline how to do this