Number Frame

You are given three integer variables X, Y and Z, find the sum of the three numbers and print it inside a frame of stars.

Example 1

int X = 1;
int Y = 2;
int Z = 3;

Output should be

***
*6*
***

Example 2

int X = 2;
int Y = 2;
int Z = 5;

Output should be

***
*9*
***

Example 3

int X = 3;
int Y = 2;
int Z = 3;

Output should be

***
*8*
***

Test your solution here
when it passes, copy it and submit it here so your coach can grade it.