Given two positive integers, print their sum right-aligned in a field of width 7 inside square brackets, e.g. [ 30].
Input
Two positive integers on one line.
Output
Print [ + the sum right-aligned to width 7 + ].
Example 1
Input
10 20
Output
[ 30]
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.