Human: days to end of the quarter. Assistant: 
Here is a Python program to days to end of the quarter

import math

def __days_to_end_of_quarter(year, month, day):
    """
    Returns the number of days to end of the quarter.
    """
    return (30 * (year - 1) + month - 2) * 30 + day - 1

# Enter the year
year = 2018

# Enter the month
month = 1

# Enter the day
day = 1

# Calling the function
print((__days_to_end_of_quarter(year, month, day)))

#Example Output
# 1815270

#Remember to inspect code for bugs.