package com.company;
import java.util.List;
import java.util.Map;

import dto.Match.MatchDetail;
import dto.Match.Participant;
import dto.Match.ParticipantIdentity;
import dto.MatchList.MatchList;
import dto.MatchList.MatchReference;
import dto.Summoner.Summoner;import constant.Region;

import main.java.riotapi.RiotApi;
import main.java.riotapi.RiotApiException;
import java.util.Scanner;

public class Main{
    public static void main(String[] args) throws RiotApiException {
        Scanner findUsername=new Scanner(System.in);
        System.out.print("What is your summoner name?:");
        String summonerName= findUsername.next();

        RiotApi api = new RiotApi("00e82d10-743e-4adf-a206-2c967817a311");
        Map<String, Summoner> summoners = api.getSummonersByName(Region.NA, "summonername");
        Summoner summoner = summoners.get("summonername");
        long id = summoner.getId();
        List<MatchReference> matchinfo = api.getMatchList(id).getMatches();
        Long[] matchidlist = new Long[matchinfo.size()];
        for(int i=0; i<matchinfo.size(); i ++){
           matchidlist[i] =  matchinfo.get(i).getMatchId();

        }





        System.out.println(id);
    }
    public long[][] playeridlist(Long[] matchid, RiotApi api,long id) throws RiotApiException{
        long[][] playeridlist = new long[matchid.length][9];
        for (int i = 0; i < matchid.length; i++) {
            MatchDetail match = api.getMatch(matchid[i]);
            List<ParticipantIdentity> hi = match.getParticipantIdentities();

            for(int j = 0 ; j < hi.size(); j ++) {
                if (!(hi.get(j).getPlayer().getSummonerId() == id)) {
                    playeridlist[i][j] = hi.get(j).getPlayer().getSummonerId();
                }
            }


        }
        return playeridlist;

    }
    public int[][] elochart(int[][] playeridlist){


    }
}

@@ -404,16 +404,416 @@
 s Main%7B%0A
+    Map%3CString, Integer%3E elomap = new Map%3CString,Integer%3E();%0A    String%5B%5D Tiers = %7B%22BRONZE%22,%22SILVER%22,%22GOLD%22,%22PLATINUM%22,%22DIAMOND%22%7D;%0A    String%5B%5D Divisions = %7B%22V%22,%22IV%22,%22III%22,%22II%22,%22I%22%7D;%0A    int starting = 800;%0A    for(int i = 0; i %3C Tiers.length; i++)%7B%0A        for(int j = 0; j %3CDivisions ; j++)%7B%0A            elomap.put(Tiers%5Bi%5D+Divisions%5Bj%5D,starting);%0A            starting += 800;%0A        %7D%0A    %7D%0A    %0A
     publ
@@ -2270,16 +2270,114 @@
 ist)%7B%0A%0A%0A
+    %7D%0A    public int mmr(String tier, String Division)%7B%0A        return elomap.get(tier+Division);%0A
     %7D%0A%7D%0A

Update Main.java