Death, the Multiverse and Nothing

2.9

47 votes
Very-Easy
Problem

You'll be given an array A of N integers as input. For each element of the array \(A[i]\), print \(A[i]-1\).

Input:
There will be \(N+1\) iines of input each consisting of a single integer.
Integer in first line denotes N
For the following N lines the integer in \(i^{th}\) line denotes the integer \(A[i-1]\)

Output:
For each element of the array \(A[i]\), print \(A[i]-1\) in a new line.

Constraints:
\(1 \le N \le 10 \)
\(1 \le A[i] \le 10 \)

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?