SPOJ BACKUP COMMIT