Which of the following rocks is formed by cooling lava?

obsidian
limestone
sandstone
marble