/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.*;
import java.time.format.*;
import java.time.temporal.ChronoUnit;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
	  String strDate = "30/08/2016";
	  DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy");
	  LocalDate dataVencimento = LocalDate.parse(strDate, formatter);
	  
	  LocalDate dataHoje = LocalDate.now();
	  
	  long daysBetween = ChronoUnit.DAYS.between(dataHoje, dataVencimento);
		
	  System.out.println(daysBetween);
	}
}