change 8777->7777, 8776->7776