Problem4398--练习-2

4398: 练习-2

Time Limit: 1.000 Sec  Memory Limit: 128 MB
Submit: 114  Solved: 53
[Submit] [Status] [Web Board] [Creator:]

Description

首先从键盘输入一个正整数n(n<100,代表数组元素个数),接着输入n个整数(代表数组元素)。然后再输入一个数x,要求将数组中所有不大于x的元素扩大1倍,并把处理后的数组元素输出,用空格分隔。


Input

6
67 30 83 27 45 92 
70

Output

134 60 83 54 90 92

Sample Input

10
7 95 83 59 26 11 69 53 43 19 
50

Sample Output

14 95 83 59 52 22 69 53 86 38

Source/Category

szy 

[Submit] [Status]