Super minimum
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given numbers. For every consecutive numbers find the minimum among them.
Input
First line contains the numbers and . Second line contains integers in the range from to .
Output
For every consecutive numbers print the minimum among them.
Examples
Input #1
Answer #1
Submissions 4K
Acceptance rate 23%