The values generally come such that you can calculate them if you remember values of lg2, lg3, lg5 and lg7. In JEE, values will be given in brackets which will be enough for calculating by slight manipulation. Like this -