SAN FRANCISCO (Reuters) – Snap Inc’s initial public offering filing seemed to show a company with a basic math problem: the company’s cost of revenue for 2016 – the amount it had to spend just to keep the messaging service running – was $47 million higher than its $405 million in sales.