DEDHAM, Mass. (AP) _ Three young men were sentenced to prison in the fatal beating of a homeless Quincy man during a robbery last summer that brought them $4 and a bottle of whiskey.

The three pleaded guilty Tuesday to manslaughter and unarmed robbery in the fourth day of their trial for first-degree murder in the July 6 attack on John Scanlan, 39, outside a Quincy apartment building.

Superior Court Judge Alan Dimond sentenced Kevin Scibilio, 17, of Quincy, to concurrent terms of seven-to-12 years at the state prison in Walpole for manslaughter and unarmed robbery. Scibilio also pleaded guilty to a larceny charge, a misdemeanor.

Michael Lomanno, 20, of Quincy, was given concurrent terms of three-to-five years at Walpole for manslaughter and unarmed robbery.

Michael Goodwin, 17, who allegedly delivered the fatal blows, was given concurrent terms of 16-to-20 years for manslaughter and unarmed robbery. He also pleaded guilty to larceny.

The three were accused of attacking Scanlan, a Vietnam veteran, as he slept in the vestibule of a Quincy apartment building, beating him and taking the half-empty bottle of Scotch whiskey and the $4.

Judith Cowin, an assistant Norfolk County district attorney, said Goodwin jumped off a fence onto Scanlan, and that the blows led to his death. She said Scanlan was so intoxicated he was unable to defend himself.

An autopsy showed that Scanlan had been hit and kicked in the face and head several times and that he died of a broken larynx in an ambulance on the way to the hospital.

Goodwin and several members of his family began to cry when the sentence was handed down. He was led out of the court in handcuffs, while Dimond stayed the sentences of the other two, allowing them to remain free until next Tuesday.

Goodwin's attorney, Richard W. Barry, said he would appeal Goodwin's sentence.