Here I have solved Return the Change
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
int arr[]=new int[n];
for(int i=0;i<n;i++){
arr[i]=sc.nextInt();
}
for(int i:arr){
int a=Math.round(i*(0.1f));
System.out.println(100-a*10);
}
}
}