A method for a first user equipment, UE, to transmit and receive data in a wireless communication system, the method comprising: selecting (S26010) a specific preamble in a specific preamble set included in preamble sets; transmitting (S26020) the selected specific preamble to an evolved-NodeB, eNB, through a specific resource on a frequency axis included in resources on the frequency axis and a specific resource on a time axis included in resources on the time axis, wherein at least one of (i) the preamble sets, (ii) the resources on the frequency axis or (iii) the resources on the time axis is classified based on whether the first UE transmits uplink data to the eNB or the first UE receives downlink data from the eNB, and wherein at least one of (i) the specific preamble set, (ii) the specific resource on the frequency axis or (iii) the specific resource on the time axis indicates, to the eNB, whether the first UE transmits the uplink data to the eNB or the first UE receives the downlink data from the eNB, based the classification on the at least one of (i) the preamble sets, (ii) the resources on the frequency axis or (iii) the resources on the time axis; receiving (S26030), from the eNB, a response message comprising resource information indicating an resource allocated based on whether the first UE transmits the uplink data to the eNB or the first UE receives the downlink data from the eNB, indicated by the at least one of (i) the specific preamble set, (ii) the specific resource on the frequency axis or (iii) the specific resource on the time axis; and transmitting (S26040) a) the uplink data or b) verification information of the first UE for receiving the downlink data through the allocated resource to the eNB. selecting (S26010) a specific preamble in a specific preamble set included in preamble sets; transmitting (S26020) the selected specific preamble to an evolved-NodeB, eNB, through a specific resource on a frequency axis included in resources on the frequency axis and a specific resource on a time axis included in resources on the time axis, wherein at least one of (i) the preamble sets, (ii) the resources on the frequency axis or (iii) the resources on the time axis is classified based on whether the first UE transmits uplink data to the eNB or the first UE receives downlink data from the eNB, and wherein at least one of (i) the specific preamble set, (ii) the specific resource on the frequency axis or (iii) the specific resource on the time axis indicates, to the eNB, whether the first UE transmits the uplink data to the eNB or the first UE receives the downlink data from the eNB, based the classification on the at least one of (i) the preamble sets, (ii) the resources on the frequency axis or (iii) the resources on the time axis; receiving (S26030), from the eNB, a response message comprising resource information indicating an resource allocated based on whether the first UE transmits the uplink data to the eNB or the first UE receives the downlink data from the eNB, indicated by the at least one of (i) the specific preamble set, (ii) the specific resource on the frequency axis or (iii) the specific resource on the time axis; and transmitting (S26040) a) the uplink data or b) verification information of the first UE for receiving the downlink data through the allocated resource to the eNB. <EOS>