japan was a land of vending machines , vending for train tickets , but also for hot coffee or tea cold , or hot drinks , food either hot or cold , cigarettes of course and beer or whatever product could be put into a vending machine .