Question: Right now, I'm using SDK 4.0 for iOS. (using the simple Button login).

The problem is that on my simulator, even when I have Facebook logged in to the system, my implementation still pops up Safari to authorize the app.

Is there a way to use the "native" Facebook login that doesn't require multiple pop ups?

Answer: 
The prompt "Enter numbers" suggests that the user will enter several numbers on the one line, so split the line and convert each number to an `int`. This list comprehension is a convenient way to do it:

```
numbers = [int(n) for n in input('Enter numbers: ').split()]

```

The above is for Python 3. For Python 2, use [`raw_input()`](https://docs.python.org/2/library/functions.html#raw_input) instead:

```
numbers = [int(n) for n in raw_input('Enter numbers: ').split()]

```

In either case:

```
>>> numbers = [int(n) for n in raw_input('Enter numbers: ').split()]
Enter numbers: 1 2 3 4 5
>>> numbers
[1, 2, 3, 4, 5]

```
you can do it in a single line by using functional programming construct of python called map,

python2

```
input_list = map(int, raw_input().split())

```

python3

```
input_list = map(int, input().split())

```