Lorin has 4 black marbles. Jimmy has 22 yellow marbles. Alex had twice as many black marbles as Lorin and one half as many yellow marbles as Jimmy. How many marbles does Alex have?
Alex has 2*4=<<2*4=8>>8 black marbles
Alex has 22/2=<<22/2=11>>11 yellow marbles
Alex has 8+11=<<8+11=19>>19 marbles
#### 19
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
You are solving math problems. Here are some examples of how to solve the task:

A sack of rice, which is 50 kilograms,  costs $50. If David sells it for $1.20 per kilogram, how much will be his profit?David's revenue for the 50 kilograms of rice is $1.20 x 50 = $<<1.20*50=60>>60.
So, his profit is $60 - $50 = $<<60-50=10>>10.
#### 10[END]

Patrick has 4 hours less than twice the amount of time that Greg has left to finish his homework. Greg has six hours less than Jacob left to finish his homework. If Jacob has 18 hours left to finish his homework, calculate the total number of hours they all have left to finish their homework?If Jacob has 18 hours left to finish his homework, Greg has 18-6 = <<18-6=12>>12 hours left to finish his homework.
The total number of hours Jacob and Greg have left to finish their homework is 12+18 = <<12+18=30>>30 hours.
Patrick has 4 hours less than twice Greg has left to finish his homework, meaning Patrick has 4 hours less than 12*2 = 24 hours left to finish his homework.
Patrick has 24-4 = <<24-4=20>>20 hours left to finish his homework.
Altogether, the three have 30+20 = <<30+20=50>>50 hours left to finish their homework.
#### 50[END]

Now, solve this next question in the style of the above examples:

Lorin has 4 black marbles. Jimmy has 22 yellow marbles. Alex had twice as many black marbles as Lorin and one half as many yellow marbles as Jimmy. How many marbles does Alex have?

### Response:
Alex has 2*4=<<2*4=8>>8 black marbles
Alex has 22/2=<<22/2=11>>11 yellow marbles
Alex has 8+11=<<8+11=19>>19 marbles
#### 19