Japanese language made really easy.
"Irasshai-mase"
is the first sentence that you reached Japan when you enter the shop or resturant.
And after that sentence, you heard following sentence,
"Aligatoh gozaimashita"
when you leaved the shop.
Aligatoh means thank you.
Gozai-mashita means very polete and mashita is the past form of mas(u).
So aligatoh gozai-mashita means thank you very much for you action just you've done.
Ali-mas(u)
Ali-mashita
means
to have
present
past.
_____,ali-mas ka?
means
Do you have ______?
Hineken beer
kitte=postal stamp
set menue
bonus
Christmas yasumi
Ohilu yasumi