package yukicoder; import java.util.Scanner; public class No560 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m = sc.nextInt(); int n = sc.nextInt(); double result = m + n / 3.0; System.out.println(result); } }