Year Ended December 31,
Year Ended December 31,
Year Ended December 31,
Year Ended December 31,
Year Ended December 31,
2019
2018
2017
2016
2015
(in thousands, except shares and per share data)
(in thousands, except shares and per share data)
(in thousands, except shares and per share data)
(in thousands, except shares and per share data)
(in thousands, except shares and per share data)
Revenue
$200,882
$147,094
$104,352
$76,846
$58,720
Cost of revenue
63,535
46,810
31,503
23,767
19,789
Gross profit
137,347
100,284
72,849
53,079
38,931
Operating expenses:
Sales and marketing(1)
87,731
69,608
46,998
34,847
25,925
Research and development(1)
50,024
41,305
22,241
14,765
11,521
General and administrative(1)
46,820
31,462
22,895
14,293
12,272
Total operating expenses
184,575
142,375
92,134
63,905
49,718
Operating loss
(47,228)
(42,091)
(19,285)
(10,826)
(10,787)
Other expenses, net
(4,597)
(4,628)
(302)
(484)
(599)
Loss before income taxes
(51,825)
(46,719)
(19,587)
(11,310)
(11,386)
(Provision for) benefit from income taxes
(425)
(796)
(47)
24
562
Net loss
$(52,250)
$(47,515)
$(19,634)
$(11,286)
$(10,824)
Net loss per share attributable to common shareholders - basic and diluted
$(1.58)
$(1.63)
$(0.70)
$(0.68)
$(0.88)
Weighted average shares outstanding - basic and diluted
33,161,656
29,107,267
27,862,375
16,659,561
12,257,413
item 6 .
selected financial data .
selected consolidated financial data .
the following selected historical financial data should be read in conjunction with item 7 “ management ’ s discussion and analysis of financial condition and results of operations ” and our consolidated financial statements and the related notes appearing in item 8 “ financial statements and supplementary data ” of this annual report on form 10-k to fully understand the factors that may affect the comparability of the information presented below .
the selected consolidated financial data in this section are not intended to replace the consolidated financial statements and are qualified in their entirety by the consolidated financial statements and related notes included elsewhere in this annual report on form 10-k .
the following selected consolidated statements of operations data for the years ended december 31 2019 2018 and 2017 and the consolidated balance sheet data as of december 31 2019 and 2018 have been derived from our audited consolidated financial statements included elsewhere in this annual report on form 10-k .
the consolidated statements of operations data for the years ended december 31 2016 and 2015 and the consolidated balance sheet data as of december 31 2017 2016 and 2015 have been derived from our audited consolidated financial statements not included in this annual report on form 10-k .
the selected consolidated financial data for the year ended december 31 2019 and as of december 31 2019 reflects the adoption of asu no .
2016-02 leases -topic 842 .
the selected consolidated financial data for the years ended december 31 2019 and 2018 and as of december 31 2019 and 2018 reflects the adoption of asu no .
2014-09 revenue from contracts with customers .
see notes 15 and 18 of the notes to consolidated financial statements for a summary of adjustments .
the summary consolidated financial data for the years ended december 31 2018 2017 2016 and 2015 and as of december 31 2018 2017 2016 and 2015 does not reflect the adoption of asu 2016-02 .
the summary consolidated financial data for the years ended december 31 2017 2016 and 2015 and as of december 31 2017 2016 and 2015 does not reflect the adoption of asu 2014-09 .

Question: What was the revenue in 2019 and 2018?
Answer: 200,882 147,094